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

GridOptionsMenu.ShowSplitItem Property

Gets or sets whether the Split command is available in the Grid Control’s context menu.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowSplitItem { get; set; }

Property Value

Type Default Description
Boolean **true**

true if the Split command is available in the Grid Control’s context menu; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowSplitItem
AdvBandedGridView
.OptionsMenu.ShowSplitItem
BandedGridView
.OptionsMenu.ShowSplitItem
GridView
.OptionsMenu.ShowSplitItem

Remarks

The Split command, available via the Column Header Context Menu and Group Panel Context Menu, allows an end-user to activate the Split Presentation for the Grid Control:

Split-SplitCommand

The ShowSplitItem property also controls the availability of the Remove Split command that removes the Split Presentation:

Split-RemoveSplitCommand

The Split and Remove Split commands are equivalent to the GridSplitContainer.ShowSplitView and GridSplitContainer.HideSplitView methods.

To learn more, see Split Presentation.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowSplitItem property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also