Back to Devexpress

DxSchedulerMonthView.CellMinHeight Property

blazor-devexpress-dot-blazor-dot-dxschedulermonthview-5dfedca1.md

latest1.9 KB
Original Source

DxSchedulerMonthView.CellMinHeight Property

Specifies the minimum cell height in the month 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 a month view with its CellMinHeight property specified. Cells in the first week are expanded to fit appointments, while other weeks use the specified value:

Code Example

The following example sets CellMinHeight to 60:

razor
<DxScheduler @bind-StartDate="@StartDate"
             DataStorage="@DataStorage"
             GroupType="SchedulerGroupType.Date">
    <DxSchedulerMonthView CellMinHeight="50" />
</DxScheduler>

See Also

DxSchedulerMonthView Class

DxSchedulerMonthView Members

DevExpress.Blazor Namespace