Blazor コントロール
方向
コントロール > Calendar > 方向

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.

Calendar control showcasing multiple months with vertical orientation

The following code demonstrates how to set the vertical navigation orientation using the Orientation property:

C#
コードのコピー
<C1Calendar MonthCount="2" Orientation="@CalendarOrientation.Horizontal"></C1Calendar>