A newer version of this page is available. Switch to the current version.

CellsAutoHeightOptions.MinHeight Property

Gets or sets the minimum height of time cells for a resource that can be set when using the CellsAutoHeight mode.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public int MinHeight { get; set; }
<DefaultValue(0)>
<XtraSerializableProperty>
Public Property MinHeight As Integer

Property Value

Type Default Description
Int32

0

An integer value specifying the cell height in pixels.

Property Paths

You can access this nested property as listed below:

Object Type Path to MinHeight
GanttView
TimelineView

Remarks

If the CellsAutoHeightOptions.Enabled property is set to true, time cells change their heights to fit appointments. When users insert new appointments into a time cell, the corresponding resource row grows. At the same time, rows that have free space shrink until they reach the MinHeight value. When this happens, a row with newly created appointments stops growing and displays the "More" button.

minheight

When a user resizes a form, cells may become smaller than the MinHeight property specifies. This happens because the SchedulerViewBase.ResourcesPerPage has a higher priority.

See Also