corelibraries-devexpress-dot-xtrascheduler-dot-userinterfaceobject-d0c9c91a.md
Gets or sets the element’s menu caption.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
public virtual string MenuCaption { get; set; }
Public Overridable Property MenuCaption As String
| Type | Description |
|---|---|
| String |
A String value which specifies the element’s menu caption.
|
Use the MenuCaption property to specify the caption of the menu item which corresponds to the current element.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MenuCaption 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#L14
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#L28
Set(ByVal value As String)
MyBase.MenuCaption = value
End Set
See Also