Back to Devexpress

GridOptionsMenu.ShowSplitItem Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsmenu-ee11a995.md

latest3.1 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowSplitItem { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowSplitItem As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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 TypePath to 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:

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

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

To learn more, see Split Presentation.

See Also

ShowSplitView()

HideSplitView()

Split Presentation

GridOptionsMenu Class

GridOptionsMenu Members

DevExpress.XtraGrid.Views.Grid Namespace