GridSplitContainer.Grid Property

Gets or sets the Grid to be split. If the Split View is already active, the property specifies the grid displayed in the first view region.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Split")]
[Browsable(true)]
public GridControl Grid { get; set; }
<DXCategory("Split")>
<Browsable(True)>
Public Property Grid As GridControl

Property Value

Type Description
GridControl

A GridControl displayed (or to be displayed) in the first view region.

Remarks

When the Split View is active (see GridSplitContainer.ShowSplitView), a GridSplitContainer displays two grid controls separated by a splitter. The first (original) grid control, specified by the Grid property, is displayed in the first region. The second grid control, specified by the GridSplitContainer.SplitChildGrid property, is displayed in the second region.

These two grid controls are synchronized, as specified by the GridSplitContainer.SynchronizeExpandCollapse, GridSplitContainer.SynchronizeFocusedRow, GridSplitContainer.SynchronizeScrolling and GridSplitContainer.SynchronizeViews properties.

When the Split View is not active, the GridSplitContainer's entire region is occupied by the grid control, specified by the Grid property. The second grid control is not visible, and the GridSplitContainer.SplitChildGrid property returns null.

See Also