SchedulerViewBase.NavigationButtonVisibility Property
Gets or sets the condition for display of the Navigation Buttons.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
Declaration
Property Value
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. |
Remarks
Use the NavigationButtonVisibility property to specify that the Navigation Buttons are always visible, always hidden, or whether their visibility is decided by the Scheduler. The latter means that they are visible when the current view doesn’t have any appointments within its visible working area.
When the NavigationButtonVisibility is set to NavigationButtonVisibility.Auto, the following rules are applied. If appointments are grouped by resources, the navigation buttons are displayed for each resource column provided there are no appointments in sight. If appointments are grouped by dates, the navigation buttons visibility depends on visible resources as well. This could lead to a situation when there are several columns for different dates and the same resource. To prevent cluttering with unneeded navigation buttons, they are shown only within the marginal columns - the leftmost resource column has a button pointing to an appointment in the past, the rightmost resource column contains a button pointing to a forthcoming appointment.