Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SplitterItem.IsCollapsed Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool IsCollapsed { get; set; }

#Property Value

Type Default Description
Boolean false

true if the layout content is collapsed using the current splitter; otherwise, false.

#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 SplitterItem.IsCollapsible property to True. The 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