blazor-devexpress-dot-blazor-dot-dxschedulermonthview-872347f8.md
Arranges resource captions horizontally or vertically when appointments are grouped by date.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(Orientation.Vertical)]
[Parameter]
public Orientation ResourceCaptionOrientation { get; set; }
| Type | Default | Description |
|---|---|---|
| Orientation | Vertical |
An enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Horizontal |
Sets horizontal orientation.
| | Vertical |
Sets vertical orientation.
|
The Scheduler component displays resources in vertical cells when appointments are grouped:
Use the ResourceCaptionOrientation property to display resource captions horizontally:
<DxScheduler @bind-StartDate="@StartDate"
DataStorage="@DataStorage"
GroupType="SchedulerGroupType.Date">
<DxSchedulerMonthView CellMinWidth="120"
CellMinHeight="50"
ResourceCaptionOrientation="Orientation.Horizontal"
VerticalResourceCellWidth="80" />
</DxScheduler>
You can use the following properties to adjust cell size in the month view:
VerticalResourceCellWidthSpecifies the resource cell width when appointments are grouped by date and resource captions are aligned horizontally.CellMinWidthSpecifies the base width of a day cell in the month view in pixels.CellMinHeightSpecifies the minimum cell height in the month view. See Also