Skip to main content
A newer version of this page is available. .

SplitterItem.IsCollapsible Property

Gets or sets whether the layout content can be collapsed using the current splitter.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean IsCollapsible { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True, if the layout content can be collapsed using the current splitter; otherwise, Default or False.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

The current splitter can be used to collapse the layout items which it separates. See the figure below.

CollapsibleSplitter

To enable this feature, set the IsCollapsible property to True. The SplitterItem.IsCollapsed property specifies whether the splitter is currently collapsed.

By default, vertical splitters collapse leftward; horizontal splitters collapse upward. Set the SplitterItem.Inverted property to True to collapse the current splitter in the opposite direction (rightward and downward, respectively).

See Also