wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentlabelmappings-f2340596.md
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
public Mapping Caption { get; set; }
Public Property Caption As Mapping
| Type | Description |
|---|---|
| Mapping |
A Mapping object that indicates the data field and converter.
|
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.
Converter= {local:HtmlColorCodeToHexConverter}}"
Caption="Caption"
ColorSavingType="ColorString"
wpf-scheduler-add-datenavigator-and-resourcetree-controls/CS/DXSample/MainWindow.xaml#L47
<dxsch:AppointmentLabelMappings Color="Color"
Caption="Caption"
Id="Id" />
Color="Color"
Caption="Caption"
Id="Id" />
wpf-scheduler-hide-non-working-days-in-day-view/CS/NavigateCommandExample/MainWindow.xaml#L65
Color="Color"
Caption="Caption"
Id="Id" />
wpf-scheduler-customize-context-menus/CS/DXScheduler_PopUpMenuCustomization/MainWindow.xaml#L43
<dxsch:AppointmentLabelMappings Id="Id"
Caption="Caption"
Color="Color"/>
See Also
AppointmentLabelMappings Class