ComponentOne Calendar for UWP
C1.UWP.Calendar Assembly / C1.Xaml.Calendar Namespace / C1Calendar Class / DataSource Property

In This Topic
    DataSource Property (C1Calendar)
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Property DataSource As System.Collections.IEnumerable
    public System.Collections.IEnumerable DataSource {get; set;}
    Remarks
    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