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


public override bool Horizontal { get; set; }
Public Overrides Property Horizontal As Boolean

Property Value

Type Default Description


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


Horizontal Split:


Vertical Split


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