Class CurrentMessagesViewModel
- Namespace
- Loehnert.Lisrt.Messaging.MessageUserControl.ViewModels
- Assembly
- Loehnert.Lisrt.dll
View model for an button which controls a MessagingViewModel.
public class CurrentMessagesViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseCurrentMessagesViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
CurrentMessagesViewModel()
Initializes a new instance of the CurrentMessagesViewModel class.
public CurrentMessagesViewModel()
Properties
ErrorCount
public int ErrorCount { get; }
Property Value
HasErrorItems
Gets a value indicating whether there are error items.
public bool HasErrorItems { get; }
Property Value
HasInfoItems
Gets a value indicating whether there are info items.
public bool HasInfoItems { get; }
Property Value
HasWarningItems
Gets a value indicating whether there are warning items.
public bool HasWarningItems { get; }
Property Value
InfoCount
Gets the number of Info messages.
public int InfoCount { get; }
Property Value
WarningCount
Gets the number of Warn messages.
public int WarningCount { get; }