Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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