Back to Devexpress

DxSchedulerTimelineView.CellMinHeight Property

blazor-devexpress-dot-blazor-dot-dxschedulertimelineview-418c2d0c.md

latest2.2 KB
Original Source

DxSchedulerTimelineView.CellMinHeight Property

Specifies the minimum cell height in the timeline view.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(0)]
[Parameter]
public int CellMinHeight { get; set; }

Property Value

TypeDefaultDescription
Int320

The minimum cell height in pixels.

|

Remarks

The CellMinHeight property specifies the minimum height of time/resource cells that display appointments. The Scheduler component can increase the height if the specified value does not accommodate the following elements:

The following image displays two timeline views with the same CellMinHeight but a different number of appointments:

Code Example

The following example sets CellMinHeight to 65:

razor
<DxScheduler @bind-StartDate="@StartDate"
             DataStorage="@DataStorage"
             ResourceNavigatorVisible="false">
    <DxSchedulerTimelineView Duration="@TimeSpan.FromHours(48)" 
                             CellMinWidth="80" 
                             CellMinHeight="65">
        <Scales>
            <DxSchedulerTimeScale Unit="@SchedulerTimeScaleUnit.Day" UnitCount="1" />
            <DxSchedulerTimeScale Unit="@SchedulerTimeScaleUnit.Hour" UnitCount="2" />
        </Scales>
    </DxSchedulerTimelineView>
</DxScheduler>

See Also

DxSchedulerTimelineView Class

DxSchedulerTimelineView Members

DevExpress.Blazor Namespace