DataGridView.ReduceHeightToContent Property
In This Article
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
C#
[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