Hi,
I encountered a problem when I tried to bind a collection of custom objects to your SfSchedule control.
When using the folling type of DataContext binding:
<Window.DataContext>
<local:ScheduleViewModel />
</Window.DataContext>
The Items did not get loaded/displayed in the SfSchedule control but the ItemsSource collection was accessible and correctly setup (I looked at it in debug). The Appointment collection of SfSchedule was empty and not filled.
This did only occur when using the above method of DataContext binding.
By using the method of setting the DataContext in the Constructor like this
public MainWindow()
{
InitializeComponent();
this.DataContext = new ScheduleViewModel();
}
SfSchedul displays everything as expected.
I tried it with your provided Sample from
and the version of SfSchedule I'm currently using 17.3460.0.27.
I just wanted to report this minor issue.