Back to Devexpress

LabelMappingInfo.DisplayName Property

windowsforms-devexpress-dot-xtrascheduler-dot-labelmappinginfo-190a9284.md

latest2.8 KB
Original Source

LabelMappingInfo.DisplayName Property

Gets or sets the data source field that stores Labels’ primary names. These names are displayed at runtime in the Edit Appointment dialog.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue("")]
public string DisplayName { get; set; }
vb
<DefaultValue("")>
Public Property DisplayName As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value that is the name of a data source field that stores Labels’ primary names.

|

Remarks

The figure below illustrates custom Label display names in the Edit Appointment dialog.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayName 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#L104

csharp
mappingsLabel.Color = "ColorLabel";
mappingsLabel.DisplayName = "Name";
mappingsLabel.Id = "ID";

winforms-scheduler-bind-to-custom-objects/VB/CustomObjectsBinding/Form1.vb#L107

vb
mappingsLabel.Color = "ColorLabel"
mappingsLabel.DisplayName = "Name"
mappingsLabel.Id = "ID"

See Also

LabelMappingInfo Class

LabelMappingInfo Members

DevExpress.XtraScheduler Namespace