diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/NotificationItem.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/NotificationItem.cs | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/NotificationItem.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/NotificationItem.cs index 6a29511a9..c96fe9dee 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/NotificationItem.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/NotificationItem.cs @@ -14,22 +14,22 @@ namespace Tango.PPC.Common.Notifications /// </summary> public abstract class NotificationItem : ItemBase { - public enum NotificationPriority - { - Low, - Normal, - High, - VeryHigh, - Critical, - } - /// <summary> /// Initializes a new instance of the <see cref="NotificationItem"/> class. /// </summary> public NotificationItem() : base() { CanClose = true; - Priority = NotificationPriority.Normal; + } + + private bool _isExpanded; + /// <summary> + /// Gets or sets a value indicating whether the notification panel is expanded. + /// </summary> + public bool IsExpanded + { + get { return _isExpanded; } + set { _isExpanded = value; RaisePropertyChangedAuto(); } } private bool _canClose; @@ -43,11 +43,6 @@ namespace Tango.PPC.Common.Notifications } /// <summary> - /// Gets or sets the notification priority. - /// </summary> - public NotificationPriority Priority { get; set; } - - /// <summary> /// Called when the item has been pressed. /// </summary> protected override void OnPreesed() |
