Back to Devexpress

SplitterItem.IsCollapsible Property

windowsforms-devexpress-dot-xtralayout-dot-splitteritem-cd74520d.md

latest2.5 KB
Original Source

SplitterItem.IsCollapsible Property

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean IsCollapsible { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Behavior")>
Public Property IsCollapsible As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

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

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

IsCollapsed

Inverted

SplitterItem Class

SplitterItem Members

DevExpress.XtraLayout Namespace