windowsforms-devexpress-dot-xtrascheduler-dot-schedulerviewbase-965b3603.md
Gets or sets the condition for display of the Navigation Buttons.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[DefaultValue(NavigationButtonVisibility.Auto)]
[XtraSerializableProperty]
public NavigationButtonVisibility NavigationButtonVisibility { get; set; }
<DefaultValue(NavigationButtonVisibility.Auto)>
<XtraSerializableProperty>
Public Property NavigationButtonVisibility As NavigationButtonVisibility
| Type | Default | Description |
|---|---|---|
| NavigationButtonVisibility | Auto |
A NavigationButtonVisibility enumeration value which specifies when the Navigation Buttons are visible.
|
Available values:
| Name | Description |
|---|---|
| Auto |
Navigation buttons are visible if there are no appointments displayed within the current view area.
| | Always |
Navigation buttons are always visible.
| | Never |
Navigation buttons are always hidden.
|
Use the NavigationButtonVisibility property to specify that the Navigation Buttons are always visible, always hidden, or whether its visibility is decided by the SchedulerControl. The latter means that they are visible when the current view doesn’t have any appointments within its visible working area.
The following code snippets (auto-collected from DevExpress Examples) contain references to the NavigationButtonVisibility 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-customize-popup-menu/CS/PopupMenuCustomization/Form1.cs#L27
schedulerControl1.DateNavigationBar.Visible = false;
schedulerControl1.ActiveView.NavigationButtonVisibility = NavigationButtonVisibility.Never;
}
winforms-scheduler-create-gantt-chart/CS/GanttExample/Form1.cs#L56
schedulerControl1.GanttView.ShowResourceHeaders = false;
schedulerControl1.GanttView.NavigationButtonVisibility = NavigationButtonVisibility.Never;
// Disable user sorting in the Resource Tree (clicking the column will not change the sort order).
winforms-scheduler-customize-popup-menu/VB/PopupMenuCustomization/Form1.vb#L24
schedulerControl1.DateNavigationBar.Visible = False
schedulerControl1.ActiveView.NavigationButtonVisibility = NavigationButtonVisibility.Never
End Sub
winforms-scheduler-create-gantt-chart/VB/GanttExample/Form1.vb#L59
schedulerControl1.GanttView.ShowResourceHeaders = False
schedulerControl1.GanttView.NavigationButtonVisibility = NavigationButtonVisibility.Never
' Disable user sorting in the Resource Tree (clicking the column will not change the sort order).
See Also