Skip to main content
A newer version of this page is available. .

DataGridView.ReduceHeightToContent Property

Gets or sets whether the grid reduces its height to occupy the minimum space needed for its data rows. This is a bindable property.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public bool ReduceHeightToContent { get; set; }

Property Value

Type Description
Boolean

true if the grid size is reduced to fit its content; otherwise, false.

Remarks

This property can be useful when the grid content size is less than the size of available space (parent container or screen).

See Also