corelibraries-devexpress-dot-xtrascheduler-dot-userinterfaceobject.md
Gets or sets the text which identifies an element.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
public virtual string DisplayName { get; set; }
Public Overridable Property DisplayName As String
| Type | Description |
|---|---|
| String |
A String value which identifies an element.
|
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-custom-scales-in-timeline-view/CS/HideWeekends/CustomTimeScale.cs#L13
public override string DisplayName { get => "Custom Work Hours"; set => base.DisplayName = value; }
public override string MenuCaption { get => "Custom Work Hours"; set => base.MenuCaption = value; }
winforms-scheduler-custom-scales-in-timeline-view/VB/HideWeekends/CustomTimeScale.vb#L18
Set(ByVal value As String)
MyBase.DisplayName = value
End Set
See Also