A newer version of this page is available. Switch to the current version.

TreeListView.CompactPanelShowMode Property

Gets or sets the how the compact panel is displayed when the TreeListControl dimensions are changed. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll


public CompactPanelShowMode CompactPanelShowMode { get; set; }

Property Value

Type Description

Any of the CompactPanelShowMode enumeration values that is the compact panel display mode.

Available values:

Name Description

The compact panel is displayed when the GridControl is in compact mode.


The compact panel is displayed when the GridControl is in both compact and non-compact modes.


The compact panel is never displayed within the GridControl.


Use the CompactPanelShowMode property to control the availability of the compact panel when the TreeListControl is switched (or not) to compact mode.

The TreeListControl switches to compact mode when the following requirements are met:

You can set the CompactPanelShowMode property to any of the following values:

See Also