ComponentOne Calendar for UWP
DataSource Property (C1Calendar)

C1.UWP.Calendar Assembly > C1.Xaml.Calendar Namespace > C1Calendar Class : DataSource Property
Gets or sets the collection of objects which should be used as a calendar data source. This is a dependency property. The default value is null.
Public Property DataSource As System.Collections.IEnumerable
public System.Collections.IEnumerable DataSource {get; set;}
If this property is set, the C1Calendar control collects data objects for individual days using the value of the property, specified by the StartTimePath property. Then, it updates the BoldedDates list and puts collection of objects for the each bolded day to the corresponding DaySlot.DataSource property. Applications can use data in the DaySlot.DataSource property as a binding source in the custom DataTemplates.
See Also


C1Calendar Class
C1Calendar Members