Back to Devexpress

AppointmentLabelMappings Class

wpf-devexpress-dot-xpf-dot-scheduling-be0576cc.md

latest4.8 KB
Original Source

AppointmentLabelMappings Class

Provides information on the appointment label properties’ mapping to data fields.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public class AppointmentLabelMappings :
    MappingsBase
vb
Public Class AppointmentLabelMappings
    Inherits MappingsBase

The following members return AppointmentLabelMappings objects:

Remarks

The AppointmentLabelMappings class contains a set of properties whose names are similar to the persistent properties declared within the AppointmentLabelItem class. If the SchedulerControl is bound to a data source using its DataSource.AppointmentLabelsSource property, the AppointmentLabelMappings class properties allow the corresponding AppointmentLabelItem properties to be bound to appropriate fields in the data source.

Access the AppointmentLabelMappings object using the DataSource.AppointmentLabelMappings property.

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

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#L53

xml
<dxsch:DataSource.AppointmentLabelMappings>
    <dxsch:AppointmentLabelMappings Color="{dxsch:Mapping FieldName=ColorData,
        ConversionBehavior=BetweenFieldAndMapping,

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

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

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

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

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

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

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

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

Inheritance

Object BindableBase DevExpress.Mvvm.Native.FreezableBase MappingsBase AppointmentLabelMappings

See Also

AppointmentLabelMappings Members

DevExpress.Xpf.Scheduling Namespace