Scheduler for UWP | ComponentOne
C1.Xaml.Schedule Namespace / AppointmentsCoverPane Class / IntervalAppointmentTemplate Property

In This Topic
    IntervalAppointmentTemplate Property (AppointmentsCoverPane)
    In This Topic
    Gets or sets a DataTemplate that defines a UI representation of an IntervalAppointment object. This is a dependency property.
    Syntax
    'Declaration
     
    
    <C1CategoryAttribute("View")>
    <C1DescriptionAttribute("C1Scheduler.IntervalAppointmentTemplate", "Gets or sets a DataTemplate that defines a UI representation of an IntervalAppointment object.")>
    Public Property IntervalAppointmentTemplate As DataTemplate
    [C1Category("View")]
    [C1Description("C1Scheduler.IntervalAppointmentTemplate", "Gets or sets a DataTemplate that defines a UI representation of an IntervalAppointment object.")]
    public DataTemplate IntervalAppointmentTemplate {get; set;}
    Remarks
    A single appointment can be represented by multiple elements in control's view. For example, in the Months view the appointment that hit two weeks will be represented by two separate elements, a different element for each week. Because of this, a DataContext for the appointment template is a IntervalAppointment object (but not an C1.C1Schedule.Appointment object), which represents the chunk of appointment covering a specific period of time that can be shown by a single UI element.
    See Also