Back to Devexpress

DataSource.AppointmentLabelMappings Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-datasource-f029a39e.md

latest4.3 KB
Original Source

DataSource.AppointmentLabelMappings Property

Gets an object that specifies how appointment label properties map to the data source fields.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public AppointmentLabelMappings AppointmentLabelMappings { get; set; }
vb
Public Property AppointmentLabelMappings As AppointmentLabelMappings

Property Value

TypeDescription
AppointmentLabelMappings

A AppointmentLabelMappings object that provides information on the mapping of the appointment label properties to the data fields.

|

Remarks

Use the DataSource.AppointmentLabelsSource property to specify a data source.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentLabelMappings 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#L52

xml
<!--region #AppointmentLabelMappings-->
<dxsch:DataSource.AppointmentLabelMappings>
    <dxsch:AppointmentLabelMappings Color="{dxsch:Mapping FieldName=ColorData,

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

xml
</dxsch:DataSource.ResourceMappings>
<dxsch:DataSource.AppointmentLabelMappings>
    <dxsch:AppointmentLabelMappings Color="Color"

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

xml
</dxsch:DataSource.ResourceMappings>
<dxsch:DataSource.AppointmentLabelMappings>
    <dxsch:AppointmentLabelMappings

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

xml
</dxsch:DataSource.ResourceMappings>
<dxsch:DataSource.AppointmentLabelMappings>
    <dxsch:AppointmentLabelMappings

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

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

See Also

Mappings

How to: Create Custom Labels and Statuses

DataSource Class

DataSource Members

DevExpress.Xpf.Scheduling Namespace