Skip to main content

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.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

[DefaultValue(-1)]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleY)]
public virtual int MaxRowAutoHeight { get; set; }

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