windowsforms-devexpress-dot-xtrascheduler-dot-appointmentlabeldatastorage-8ab3a4c1.md
Gets an object that specifies how Label properties map to the data source fields.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public LabelMappingInfo Mappings { get; }
Public ReadOnly Property Mappings As LabelMappingInfo
| Type | Description |
|---|---|
| LabelMappingInfo |
A LabelMappingInfo object that provides information on Label mappings.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Mappings 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.
winforms-scheduler-bind-to-custom-objects/CS/CustomObjectsBinding/Form1.cs#L102
public void InitLabels(BindingList<CustomLabel> labels) {
LabelMappingInfo mappingsLabel = schedulerDataStorage1.Labels.Mappings;
mappingsLabel.Color = "ColorLabel";
winforms-scheduler-bind-to-custom-objects/VB/CustomObjectsBinding/Form1.vb#L105
Public Sub InitLabels(ByVal labels As BindingList(Of CustomLabel))
Dim mappingsLabel As LabelMappingInfo = schedulerDataStorage1.Labels.Mappings
mappingsLabel.Color = "ColorLabel"
See Also
AppointmentLabelDataStorage Class