Back to Devexpress

SchedulerViewBase.NavigationButtonsVisibility Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulerviewbase-007486d2.md

latest3.2 KB
Original Source

SchedulerViewBase.NavigationButtonsVisibility Property

Gets or sets whether to display appointment navigation buttons. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public NavigationButtonVisibility NavigationButtonsVisibility { get; set; }
vb
Public Property NavigationButtonsVisibility As NavigationButtonVisibility

Property Value

TypeDefaultDescription
NavigationButtonVisibilityAuto

A NavigationButtonVisibility enumeration value.

|

Available values:

NameDescription
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

If the NavigationButtonsVisibility property is set to Auto, navigation buttons are visible if there are appointments that are not displayed within the current view area.

The following example always displays appointment navigation buttons:

xaml
<dxsch:SchedulerControl ... >
    <dxsch:WeekView ...
                    NavigationButtonsVisibility="Always" >
</dxsch:SchedulerControl>

Refer to the following section for more information: Navigation.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NavigationButtonsVisibility 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.

wpf-scheduler-specify-custom-work-time-intervals/CS/CustomWorkTimeExample/MainWindow.xaml#L41

xml
ShowAllDayArea="False"
NavigationButtonsVisibility="Never"
DateHeaderContentTemplate="{StaticResource DateHeaderControl.ContentTemplate}"/>

See Also

SchedulerViewBase Class

SchedulerViewBase Members

DevExpress.Xpf.Scheduling Namespace