Beispiel #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 ) );
 }
Beispiel #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));
 }