windowsforms-devexpress-dot-xtraverticalgrid-dot-baseoptionsview-6283e181.md
Gets or sets the maximum height for rows, when the row auto-height feature is enabled.
Namespace : DevExpress.XtraVerticalGrid
Assembly : DevExpress.XtraVerticalGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
[DefaultValue(-1)]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleY)]
public virtual int MaxRowAutoHeight { get; set; }
<DefaultValue(-1)>
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleY)>
Public Overridable Property MaxRowAutoHeight As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | -1 |
The maximum row height, in pixels.
|
You can access this nested property as listed below:
| Object Type | Path to MaxRowAutoHeight |
|---|---|
| VGridControlBase |
.OptionsView .MaxRowAutoHeight
|
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