UI visuals for mail calendar items, calendar reminders.
This commit is contained in:
@@ -79,6 +79,11 @@ public partial class ThreadMailItemViewModel : ObservableRecipient, IMailListIte
|
||||
/// </summary>
|
||||
public bool HasAttachments => ThreadEmails.Any(e => e.HasAttachments);
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether any email in this thread is a calendar invitation.
|
||||
/// </summary>
|
||||
public bool IsCalendarEvent => ThreadEmails.Any(e => e.IsCalendarEvent);
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether any email in this thread is flagged
|
||||
/// </summary>
|
||||
@@ -167,6 +172,7 @@ public partial class ThreadMailItemViewModel : ObservableRecipient, IMailListIte
|
||||
[NotifyPropertyChangedFor(nameof(FromAddress))]
|
||||
[NotifyPropertyChangedFor(nameof(PreviewText))]
|
||||
[NotifyPropertyChangedFor(nameof(HasAttachments))]
|
||||
[NotifyPropertyChangedFor(nameof(IsCalendarEvent))]
|
||||
[NotifyPropertyChangedFor(nameof(IsFlagged))]
|
||||
[NotifyPropertyChangedFor(nameof(IsFocused))]
|
||||
[NotifyPropertyChangedFor(nameof(IsRead))]
|
||||
@@ -275,6 +281,7 @@ public partial class ThreadMailItemViewModel : ObservableRecipient, IMailListIte
|
||||
OnPropertyChanged(nameof(FromAddress));
|
||||
OnPropertyChanged(nameof(PreviewText));
|
||||
OnPropertyChanged(nameof(HasAttachments));
|
||||
OnPropertyChanged(nameof(IsCalendarEvent));
|
||||
OnPropertyChanged(nameof(IsFlagged));
|
||||
OnPropertyChanged(nameof(IsFocused));
|
||||
OnPropertyChanged(nameof(IsRead));
|
||||
|
||||
Reference in New Issue
Block a user