ComponentOne Xamarin Edition
Orientation
Controls > Calendar > Features > Orientation

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

The following code example demonstrates how to set the orientation in C# and XAML. This code example uses the sample created in the Quick start section.

In Code

C#
Copy Code
//Setting the Orientation
calendar.Orientation = CalendarOrientation.Vertical;

In XAML

XAML
Copy Code
<Grid>
     <c1:C1Calendar x:Name="calendar" Orientation="Vertical"/>
  </Grid>