Class NotificationModel
public sealed class NotificationModel : NotificationObject, INotifyPropertyChanged
- Inheritance
-
NotificationModel
- Implements
- Inherited Members
- Extension Methods
Constructors
NotificationModel(Message, string?, Visibility)
Create a notification from a Message and optional detail text.
public NotificationModel(Message message, string? details, Visibility showClose)
Parameters
messageMessagedetailsstringshowCloseVisibility
NotificationModel(MessageLevel, string, string?, Visibility)
public NotificationModel(MessageLevel level, string message, string? details, Visibility showClose)
Parameters
levelMessageLevelmessagestringdetailsstringshowCloseVisibility
Properties
Close
public ICommand? Close { get; set; }
Property Value
Copy
public ICommand? Copy { get; set; }
Property Value
Details
public string? Details { get; }
Property Value
DetailsVisibility
public Visibility DetailsVisibility { get; }
Property Value
HasDetails
public bool HasDetails { get; }
Property Value
IsDetailsButtonChecked
public bool IsDetailsButtonChecked { get; set; }
Property Value
Level
public MessageLevel Level { get; }
Property Value
Message
public string Message { get; }
Property Value
ShowClose
public Visibility ShowClose { get; }