By default, the Calendar control is horizontally oriented. However, you can change the navigation orientation of the calendar to vertical layout using Orientation property of the C1Calendar class. The following GIF shows how the navigation buttons are used to navigate the calendar months in vertical orientation.
The following code demonstrates how to set the vertical navigation orientation for the Calendar control:
XAML |
コードのコピー
|
---|---|
<calendar:C1Calendar x:Name="calendar" Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Top"></calendar:C1Calendar> |