WinUI | ComponentOne
Controls / Calendar / Orientation
In This Topic
    Orientation
    In This Topic

    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.

    Calendar with vertical orientation

    The following code demonstrates how to set the vertical navigation orientation for the Calendar control:

    XAML
    Copy Code
    <calendar:C1Calendar x:Name="calendar" Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Top"></calendar:C1Calendar>