Back to Devexpress

TimelineView.ShowResourceHeaders Property

windowsforms-devexpress-dot-xtrascheduler-dot-timelineview-f936b307.md

latest2.8 KB
Original Source

TimelineView.ShowResourceHeaders Property

Gets or sets whether resource headers are displayed.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue(true)]
public bool ShowResourceHeaders { get; set; }
vb
<DefaultValue(True)>
Public Property ShowResourceHeaders As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to show resource headers; otherwise, false.

|

Remarks

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

csharp
// Hide unnecessary visual elements.
schedulerControl1.GanttView.ShowResourceHeaders = false;
schedulerControl1.GanttView.NavigationButtonVisibility = NavigationButtonVisibility.Never;

winforms-scheduler-create-gantt-chart/VB/GanttExample/Form1.vb#L58

vb
' Hide unnecessary visual elements.
schedulerControl1.GanttView.ShowResourceHeaders = False
schedulerControl1.GanttView.NavigationButtonVisibility = NavigationButtonVisibility.Never

See Also

TimelineView Class

TimelineView Members

DevExpress.XtraScheduler Namespace