Removed the INC registrations for list view items.
This commit is contained in:
@@ -42,6 +42,15 @@ public partial class MailItemViewModel(MailCopy mailCopy) : ObservableRecipient,
|
||||
[NotifyPropertyChangedRecipients]
|
||||
public partial bool IsSelected { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Direct callback invoked when <see cref="IsSelected"/> changes.
|
||||
/// Used by the ListViewItem container to update its IsCustomSelected DP
|
||||
/// without subscribing to INotifyPropertyChanged (faster, AOT-safe).
|
||||
/// </summary>
|
||||
public Action<bool> OnSelectionChanged { get; set; }
|
||||
|
||||
partial void OnIsSelectedChanged(bool value) => OnSelectionChanged?.Invoke(value);
|
||||
|
||||
/// <summary>
|
||||
/// Indicates if this mail item is currently being processed by a network operation.
|
||||
/// Used to show loading state in the UI.
|
||||
|
||||
Reference in New Issue
Block a user