Back to Devexpress

LabelMappingInfo.Id Property

windowsforms-devexpress-dot-xtrascheduler-dot-labelmappinginfo-af5e9053.md

latest2.4 KB
Original Source

LabelMappingInfo.Id Property

Gets or sets the data source field that stores unique Label IDs. This mapping is required.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

A String value that is the name of a data source field that stores unique Label IDs.

|

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

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

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

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

See Also

LabelMappingInfo Class

LabelMappingInfo Members

DevExpress.XtraScheduler Namespace