diff options
| author | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
|---|---|---|
| committer | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
| commit | 00a491d93733d4625ad329b2ba8237f445364b3f (patch) | |
| tree | 4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/NotificationItem.cs | |
| parent | 124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff) | |
| download | Tango-00a491d9.tar.gz Tango-00a491d9.zip | |
merge
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() |
