ComponentOne Xamarin.iOS Documentation
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 orientation property can be set using CalendarOrientation enumeration in code so that the calendar's orientation changes to Vertical.

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

    In Code

    C#
    Copy Code
    Calendar.Orientation = CalendarOrientation.Vertical;