GridSplitContainer.Horizontal Property

Gets or sets whether a splitter divides the container into two horizontally or vertically arranged regions.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Split")]
public override bool Horizontal { get; set; }
<DefaultValue(False)>
<DXCategory("Split")>
Public Overrides Property Horizontal As Boolean

Property Value

Type Default Description
Boolean

false

true if a splitter divides the container into two horizontally arranged regions; otherwise, false.

Remarks

Horizontal Split:

Split-Horizontally-True

Vertical Split

Split-Horizontally-False

While a Split View is active, changing the Horizontal property results in redisplaying the Split View. As such, the following events fire:

  1. GridSplitContainer.SplitViewHidden - Fires when the old Split View is destroyed.
  2. GridSplitContainer.SplitViewCreated - Fires when a new Split View is created, but before it is displayed.
  3. GridSplitContainer.SplitViewShown - Fires after the new Split View is displayed.
See Also