Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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 Class

Allows you to resize and optionally collapse/expand adjacent layout items. Not supported in Table Layout and Flow Layout modes.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class SplitterItem :
    EmptySpaceItem

The following members return SplitterItem objects:

#Remarks

Splitter items allow end-users to quickly resize layout items and embedded controls at runtime. With the SplitterItem.IsCollapsible property, you can enable the collapse/expand feature for the splitter.

To add built-in splitters to the layout at design time or runtime, invoke the Customization Form, and drag Splitter items from the form to your layout. As a result, a new splitter is created and displayed at the position where it is dropped. The splitter’s orientation is calculated automatically.

SplitterNew

When creating Splitter items in code, use the SplitterItem.BeginInit and SplitterItem.EndInit methods to prevent the splitter item from being used until it has been completely initialized.

You can use the SplitterItem.FixedStyle property to fix a layout item/group at the left/top or right/bottom side of the SplitterItem. The fixed layout item/group does not change its width/height when the width/height of the Layout Control is changed.

Note

SplitterItem objects are not supported in Table Layout and Flow Layout modes.

For more information on Splitter items, see Splitters.

#Inheritance

See Also