Hello,
I'm using this article to make a custom appointment and custom appointment dialog, but it doesn't work. It says that you're supposed to be able to access custom appointment properties, but I try to display a custom appointment property in a combobox and it doesn't work.
This is my code, my custom appointment has a property named "FactionDef" of type "List_ShiftDTO", I bind it to selectedItem but it can't find it even if it's clearly there. The combobox shows the itemsource and all the "List_ShiftDTO" objects inside the ObservableCollection "TypeFactions".
<
telerik:RadComboBox
Grid.Row
=
"2"
Grid.Column
=
"1"
SelectedItem
=
"{Binding Occurrence.Appointment.FactionDef, Mode=TwoWay}"
Margin
=
"3"
ItemsSource
=
"{Binding RelativeSource={RelativeSource AncestorType=telerik:SchedulerWindow}, Path=ScheduleView.DataContext.TypeFactions}"
DisplayMemberPath
=
"Display"
/>