A newer version of this page is available. Switch to the current version.

AppointmentLabelItem Class

An object used as a label to categorize appointments.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v19.1.dll

Declaration

public class AppointmentLabelItem :
    SourceObjectContainer
Public Class AppointmentLabelItem
    Inherits SourceObjectContainer

Remarks

All labels are contained in the SchedulerControl.LabelItems collection. A label is assigned to an appointment by setting the appointment's AppointmentItem.LabelId property to the AppointmentLabel.Id value.

Labels can be stored in a data source and bound to the SchedulerControl using the DataSource.AppointmentLabelsSource property. In this situation, mappings are required. Use the DataSource.AppointmentLabelMappings property to specify label mappings.

Inheritance

Object
DevExpress.Xpf.Scheduling.Internal.NotifyPropertyChangedBase
SourceObjectContainer
AppointmentLabelItem
See Also