# Orientation

## Content



The [C1Calendar](/componentone/api/xamarin/online-ios/dotnet-api/C1.iOS.Calendar/C1.iOS.Calendar.C1Calendar.html) appears in default horizontal orientation. However, you can change the orientation of the calendar to Vertical by using the [Orientation](/componentone/api/xamarin/online-ios/dotnet-api/C1.iOS.Calendar/C1.iOS.Calendar.C1Calendar.Orientation.html) property. The orientation property can be set using [CalendarOrientation](/componentone/api/xamarin/online-ios/dotnet-api/C1.iOS.Calendar/C1.iOS.Calendar.CalendarOrientation.html) 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.](/componentone/docs/xamarin/online-ios/controls/calendarOverview/QuickStart)

### In Code

```csharp
Calendar.Orientation = CalendarOrientation.Vertical;  
```