Table of Contents

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
PropertyChangedBase
CurrentMessagesViewModel
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

CurrentMessagesViewModel()

Initializes a new instance of the CurrentMessagesViewModel class.

public CurrentMessagesViewModel()

Properties

ErrorCount

Gets the number of Error and Fatal messages.

public int ErrorCount { get; }

Property Value

int

HasErrorItems

Gets a value indicating whether there are error items.

public bool HasErrorItems { get; }

Property Value

bool

HasInfoItems

Gets a value indicating whether there are info items.

public bool HasInfoItems { get; }

Property Value

bool

HasWarningItems

Gets a value indicating whether there are warning items.

public bool HasWarningItems { get; }

Property Value

bool

InfoCount

Gets the number of Info messages.

public int InfoCount { get; }

Property Value

int

WarningCount

Gets the number of Warn messages.

public int WarningCount { get; }

Property Value

int