Back to Devexpress

AppointmentStatusMappings.Caption Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentstatusmappings-f3045e56.md

latest2.7 KB
Original Source

AppointmentStatusMappings.Caption Property

Specifies the mapping that binds the appointment status’s AppointmentStatusItem.Caption property to the data source field.

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 status’s AppointmentStatusItem.Caption property to a data field. The data field is obtained from the data source specified by the DataSource.AppointmentStatusesSource property.

Tip

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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-appointment-labels-and-statuses/CS/CustomLabelsAndStatusesExample/MainWindow.xaml#L31

xml
Brush="Brush"
Caption="Caption"
Id="Id" />

See Also

AppointmentStatusMappings Class

AppointmentStatusMappings Members

DevExpress.Xpf.Scheduling Namespace