Skip to main content
All docs
V25.2
  • DxSchedulerMonthView.ResourceCaptionOrientation Property

    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

    Declaration

    [DefaultValue(Orientation.Vertical)]
    [Parameter]
    public Orientation ResourceCaptionOrientation { get; set; }

    Property Value

    Type Default Description
    Orientation Vertical

    An enumeration value.

    Available values:

    Name Description
    Horizontal

    Sets horizontal orientation.

    Vertical

    Sets vertical orientation.

    Remarks

    The Scheduler component displays resources in vertical cells when appointments are grouped:

    Horizontally aligned resources

    Use the ResourceCaptionOrientation property to display resource captions horizontally:

    Blazor Scheduler - Vertically Aligned Resources

    <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:

    VerticalResourceCellWidth
    Specifies the resource cell width when appointments are grouped by date and resource captions are aligned horizontally.
    CellMinWidth
    Specifies the base width of a day cell in the month view in pixels.
    CellMinHeight
    Specifies the minimum cell height in the month view.
    See Also