Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / C1Scheduler Class / IntervalAppointmentTemplate Property

In This Topic
    IntervalAppointmentTemplate Property (C1Scheduler)
    In This Topic
    Gets or sets a DataTemplate that defines a UI representation of an IntervalAppointment object. This is a dependency property.
    Syntax
    'Declaration
     
    
    Public Property IntervalAppointmentTemplate As DataTemplate
    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.Schedule.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