/// <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 ) ); }
/// <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)); }