windowsforms-devexpress-dot-xtrascheduler-dot-timelineview-f936b307.md
Gets or sets whether resource headers are displayed.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[DefaultValue(true)]
public bool ShowResourceHeaders { get; set; }
<DefaultValue(True)>
Public Property ShowResourceHeaders As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to show resource headers; otherwise, false.
|
The following picture shows resource headers in the Timeline View.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowResourceHeaders 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-create-gantt-chart/CS/GanttExample/Form1.cs#L55
// Hide unnecessary visual elements.
schedulerControl1.GanttView.ShowResourceHeaders = false;
schedulerControl1.GanttView.NavigationButtonVisibility = NavigationButtonVisibility.Never;
winforms-scheduler-create-gantt-chart/VB/GanttExample/Form1.vb#L58
' Hide unnecessary visual elements.
schedulerControl1.GanttView.ShowResourceHeaders = False
schedulerControl1.GanttView.NavigationButtonVisibility = NavigationButtonVisibility.Never
See Also