Back to Devexpress

BaseOptionsView.MaxRowAutoHeight Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-baseoptionsview-6283e181.md

latest2.9 KB
Original Source

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

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

Declaration

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

Property Value

TypeDefaultDescription
Int32-1

The maximum row height, in pixels.

|

Property Paths

You can access this nested property as listed below:

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

Height

ResizeRowHeaders

MinRowAutoHeight

BaseOptionsView Class

BaseOptionsView Members

DevExpress.XtraVerticalGrid Namespace