Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public NavigationButtonVisibility Visibility { get; set; }

Property Value

Type Description
NavigationButtonVisibility

A NavigationButtonVisibility enumeration value defining the conditions for the Navigation Buttons being displayed.

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.

Property Paths

You can access this nested property as listed below:

Object Type Path to Visibility
OptionsView

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The SchedulerViewBase.NavigationButtonVisibility has priority over the Visibility setting for a particular view.

Example

This example demonstrates how to specify the Scheduler control’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>
See Also