Xamarin.Android | ComponentOne
Controls / Calendar / Features / Orientation
In This Topic
    Orientation
    In This Topic

    The C1Calendar appears in default horizontal orientation. However, you can change the orientation of the calendar to Vertical by using the Orientation property. The CalendarOrientation enumeration can be used to set Vertical orientation as shown in the code below.

    The following code example demonstrates how to set the Orientation in C#. This code example uses the sample created in the Quick Start section.

    MainActivity.cs
    Copy Code
    calendar.Orientation = CalendarOrientation.Vertical;