BaseOptionsView.MaxRowAutoHeight Property

Gets or sets the maximum height for rows, when the row auto-height feature is enabled.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

[DefaultValue(-1)]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleY)]
public virtual int MaxRowAutoHeight { get; set; }
<DefaultValue(-1)>
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleY)>
Public Overridable Property MaxRowAutoHeight As Integer

Property Value

Type Default Description
Int32

-1

The maximum row height, in pixels.

Property Paths

You can access this nested property as listed below:

Object Type Path to MaxRowAutoHeight
PropertyGridControl
.OptionsView.MaxRowAutoHeight
PropertyGridControl
.OptionsView.MaxRowAutoHeight
VGridControl
.OptionsView.MaxRowAutoHeight
VGridControl
.OptionsView.MaxRowAutoHeight
VGridControlBase
.OptionsView.MaxRowAutoHeight

Remarks

The vertical grid controls (VGridControl and PropertyGridControl) support the row auto-height feature. When a MemoEdit or PictureEdit is used as an in-place editor within a row, the row is automatically stretched to display the values completely. To limit the row's minimum and maximum height when the auto-height feature is enabled, use the BaseOptionsView.MinRowAutoHeight and MaxRowAutoHeight properties.

If the MaxRowAutoHeight property is set to -1, the row's maximum height is not limited.

Note that end-users can resize rows if the VGridOptionsBehavior.ResizeRowHeaders property is set to true.

See Also