NavigationButtonOptions.Visibility Property
Specifies whether the Navigation Buttons are always visible, always hidden or their visibility depends on particular conditions.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
Property Value
| Type | Description |
|---|---|
| NavigationButtonVisibility | A DevExpress.XtraScheduler.NavigationButtonVisibility enumeration value which defines the conditions for the Navigation Buttons being displayed. |
Property Paths
You can access the NavigationButtonOptions.Visibility property from the following objects:
| Object Type | Path to Visibility |
|---|---|
| OptionsView |
|
| SchedulerControl |
|
Remarks
The SchedulerViewBase.NavigationButtonVisibility property for a particular view has priority over the Visibility setting.
Examples
This example demonstrates how to specify the SchedulerControl's presentation using the SchedulerControl.OptionsView property.
<dxsch:SchedulerControl.OptionsView>
<dxsch:OptionsView FirstDayOfWeek="Tuesday" ShowOnlyResourceAppointments="True">
<dxsch:OptionsView.NavigationButtonOptions>
<dxsch:NavigationButtonOptions Visibility="Auto" AppointmentSearchInterval="2"/>
</dxsch:OptionsView.NavigationButtonOptions>
</dxsch:OptionsView>
</dxsch:SchedulerControl.OptionsView>