ShowAs stripe for calendar control template.

This commit is contained in:
Burak Kaan Köse
2026-01-06 12:54:47 +01:00
parent a23a99cc8d
commit 7cc201f423
4 changed files with 95 additions and 10 deletions
@@ -115,6 +115,7 @@ public partial class CalendarPageViewModel : CalendarBaseViewModel,
[ObservableProperty]
[NotifyPropertyChangedFor(nameof(IsEventDetailsVisible))]
[NotifyCanExecuteChangedFor(nameof(JoinOnlineCommand))]
[NotifyPropertyChangedFor(nameof(CanJoinOnline))]
public partial CalendarItemViewModel DisplayDetailsCalendarItemViewModel { get; set; }
public bool IsEventDetailsVisible => DisplayDetailsCalendarItemViewModel != null;
@@ -227,12 +228,6 @@ public partial class CalendarPageViewModel : CalendarBaseViewModel,
};
}
public override void OnNavigatedFrom(NavigationMode mode, object parameters)
{
// Do not call base method because that will unregister messenger recipient.
// This is a singleton view model and should not be unregistered.
}
public override void OnNavigatedTo(NavigationMode mode, object parameters)
{
base.OnNavigatedTo(mode, parameters);