windowsforms-devexpress-dot-xtrascheduler-dot-labelmappinginfo-af5e9053.md
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
[DefaultValue("")]
public string Id { get; set; }
<DefaultValue("")>
Public Property Id As String
| Type | Default | Description |
|---|---|---|
| String | String.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
mappingsLabel.DisplayName = "Name";
mappingsLabel.Id = "ID";
winforms-scheduler-bind-to-custom-objects/VB/CustomObjectsBinding/Form1.vb#L108
mappingsLabel.DisplayName = "Name"
mappingsLabel.Id = "ID"
See Also