How to change the navigation direction in the WinUI Calendar (SfCalendar)
The WinUI Calendar (SfCalendar) dates can be navigated horizontally or vertically by swiping the calendar views (Month, Year, Decade, Century) or using the navigation arrows. By default, calendar supports vertical date navigation. You can change the date navigation direction by using the NavigationDirection property of the calendar.
<Window x:Class="NavigationDirection.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:NavigationDirection" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:calendar="using:Syncfusion.UI.Xaml.Calendar"> <Grid> <calendar:SfCalendar Name="Calendar" NavigationDirection="Vertical"/> </Grid> </Window>
|
