TableView.IsCompactMode Property
Gets whether the GridControl functions in compact mode. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if the GridControl functions in compact mode; otherwise, false. |
Remarks
Use the IsCompactMode property to get whether the GridControl functions in compact mode or not.
The GridControl automatically switches to compact mode when the following requirements are met:
- the GridControl width is less then the value defined by TableView.SwitchToCompactModeWidth property;
- the TableView.DataRowCompactTemplate is defined.
See Also