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.v20.1.dll

Declaration

public class SplitterItem :
    EmptySpaceItem
Public Class SplitterItem
    Inherits EmptySpaceItem

Related API Members

The following members accept/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

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

For more information on Splitter items, see Splitters.

Inheritance

See Also