Recurrence Dialog Not Shown When SelectedAppointment Is Bound
Environment
Product Version | 2025.3.813 |
Product | RadScheduleView for WPF |
Description
The recurrence dialog is not displayed after an appointment has been made recurrent when the SelectedAppointment
property of RadScheduleView
is bound.
Solution
The SelectedAppointment
property needs to be bound to a property of the type of IOCcurrence
, in order for the RadScheduleView's dialogs to be opened.
Setting up the property that will be bound to the SelectedAppointment property
private IOccurrence selectedAppointment;
public IOccurrence SelectedAppointment
{
get { return selectedAppointment; }
set
{
if (value != selectedAppointment)
{
selectedAppointment = value;
OnPropertyChanged(() => this.SelectedAppointment);
}
}
}
Binding the property to the SelectedAppointment property of RadScheduleView
<telerik:RadScheduleView SelectedAppointment="{Binding SelectedAppointment}"/>