Back to Devexpress

TreeListView.CompactPanelShowMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-96ec1596.md

latest3.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public CompactPanelShowMode CompactPanelShowMode { get; set; }
vb
Public Property CompactPanelShowMode As CompactPanelShowMode

Property Value

TypeDescription
CompactPanelShowMode

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

|

Available values:

NameDescription
CompactMode

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

| | Always |

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

| | Never |

The compact panel is never displayed within the GridControl.

|

Remarks

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

Compact Mode

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace