SchedulerDateNavigationBehavior.FindNavigator Property
Specifies whether to search for a DateNavigator within the Scheduler’s parent elements. This is
Namespace: DevExpress.UI.Xaml.Scheduler
Assembly: DevExpress.UI.Xaml.Scheduler.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to search for a DateNavigator within the Scheduler’s parent elements; otherwise, false. By default, false. |
Remarks
The code snippet below illustrates how to bind the Scheduler to a DateNavigator.
<Editors:DateNavigator Name="navigator" />
<Scheduler:SchedulerControl>
<dxmvvm:Interaction.Behaviors>
<Scheduler:SchedulerDateNavigationBehavior Navigator="{Binding ElementName=navigator}"/>
</dxmvvm:Interaction.Behaviors>
</Scheduler:SchedulerControl>
Another way to bind the Scheduler to a DateNavigator is to set the FindNavigator
property to true and specify the NavigatorElementName. See the example below.
<Editors:DateNavigator Name="navigator" />
<Scheduler:SchedulerControl>
<dxmvvm:Interaction.Behaviors>
<Scheduler:SchedulerDateNavigationBehavior NavigatorElementName="navigator" FindNavigator="True"/>
</dxmvvm:Interaction.Behaviors>
</Scheduler:SchedulerControl>
If the FindNavigator
property is set to true and the NavigatorElementName is not specified, the behavior searches for a DateNavigator within the Scheduler’s parent elements.