Back to Devexpress

AppointmentLabelMappings.Caption Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentlabelmappings-f2340596.md

latest4.1 KB
Original Source

AppointmentLabelMappings.Caption Property

Gets or sets the mapping that binds the appointment label’s AppointmentLabelItem.Caption 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 Caption { get; set; }
vb
Public Property Caption As Mapping

Property Value

TypeDescription
Mapping

A Mapping object that indicates the data field and converter.

|

Remarks

Use the Caption property to bind the appointment label’s Caption 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 Caption 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#L56

xml
Converter= {local:HtmlColorCodeToHexConverter}}"
Caption="Caption"
ColorSavingType="ColorString"

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

xml
<dxsch:AppointmentLabelMappings Color="Color"
                                Caption="Caption"
                                Id="Id" />

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

xml
Color="Color"
Caption="Caption"
Id="Id" />

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

xml
Color="Color"
Caption="Caption"
Id="Id" />

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

xml
<dxsch:AppointmentLabelMappings Id="Id"
                                Caption="Caption"
                                Color="Color"/>

See Also

AppointmentLabelMappings Class

AppointmentLabelMappings Members

DevExpress.Xpf.Scheduling Namespace