Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotificationItem"/> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 public NotificationItem( NotificationTongue parent )
 {
     DefaultStyleKey = typeof( NotificationItem );
     ShowDetailsPopupCommand = new DelegateCommand ( () => parent.ShowDetailPopup ( Content ) );
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotificationItem"/> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 public NotificationItem(NotificationTongue parent)
 {
     DefaultStyleKey         = typeof(NotificationItem);
     ShowDetailsPopupCommand = new DelegateCommand(() => parent.ShowDetailPopup(Content));
 }