By default, the navigation orientation of the Calendar control is in horizontal direction. However, you can change the navigation orientation of the calendar to Vertical direction by using Orientation property of the C1Calendar class. The Orientation property accesses the CalendarOrientation enumeration to set the orientation in which the calendar navigates.
The following code demonstrates how to set the vertical navigation orientation using the Orientation property:
C# |
Copy Code
|
---|---|
<C1Calendar MonthCount="2" Orientation="@CalendarOrientation.Horizontal"></C1Calendar> |