Skip to main content

DataGridView.ReduceHeightToContent Property

Gets or sets whether the grid reduces its height to occupy the minimum space needed for its data rows.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

[XtraSerializableProperty]
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