Skip to main content

VGridControlBase.GridLayout Event

Fires after the grid’s layout has been changed.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v23.1.dll

NuGet Package: DevExpress.Win.VerticalGrid


public event EventHandler GridLayout

Event Data

The GridLayout event's data class is EventArgs.


When changing a row header’s width/height or the size and position of grid elements, the vertical grid’s layout changes too. As a result, the GridLayout event is raised. This event also fires each time the layout is restored as a result of the VGridControlBase.RestoreLayoutFromRegistry, VGridControlBase.RestoreLayoutFromStream or VGridControlBase.RestoreLayoutFromXml method call.

Handle the GridLayout event to perform actions in response to layout modifications. This event is also raised after the VGridControlBase.LayoutChanged method has been called.

See Also