Back to Devexpress

AppointmentLabelMappings.Id Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentlabelmappings-44aaedc3.md

latest4.2 KB
Original Source

AppointmentLabelMappings.Id Property

Gets or sets the mapping that binds the appointment label’s SourceObjectContainer.Id property to the data source.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public Mapping Id { get; set; }
vb
Public Property Id As Mapping

Property Value

TypeDescription
Mapping

A Mapping object that indicates the data field and converter.

|

Remarks

Use the Id property to bind the appointment status’s SourceObjectContainer.Id property to a data field. The data field is obtained from the data source specified by the DataSource.AppointmentLabelsSource property.

Tip

Use the Mapping.Converter property to register a value converter for a custom storing format.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Id property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-scheduler-implement-custom-mapping-converter-for-color-values/CS/ColorMappingExample/MainWindow.xaml#L58

xml
ColorSavingType="ColorString"
        Id="Id" />
</dxsch:DataSource.AppointmentLabelMappings>

wpf-scheduler-add-datenavigator-and-resourcetree-controls/CS/DXSample/MainWindow.xaml#L48

xml
Caption="Caption"
                                    Id="Id" />
</dxsch:DataSource.AppointmentLabelMappings>

wpf-scheduler-process-appointment-drag-drop-resize-operations/CS/SchedulerDragDropResizeExample/MainWindow.xaml#L79

xml
Caption="Caption"
        Id="Id" />
</dxsch:DataSource.AppointmentLabelMappings>

wpf-scheduler-hide-non-working-days-in-day-view/CS/NavigateCommandExample/MainWindow.xaml#L66

xml
Caption="Caption"
        Id="Id" />
</dxsch:DataSource.AppointmentLabelMappings>

wpf-scheduler-customize-context-menus/CS/DXScheduler_PopUpMenuCustomization/MainWindow.xaml#L42

xml
<dxsch:DataSource.AppointmentLabelMappings>
    <dxsch:AppointmentLabelMappings Id="Id"
                                    Caption="Caption"

See Also

AppointmentLabelMappings Class

AppointmentLabelMappings Members

DevExpress.Xpf.Scheduling Namespace