Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControlBase.GridLayout Event

Fires after the grid’s layout has been changed.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

public event EventHandler GridLayout

#Event Data

The GridLayout event's data class is EventArgs.

#Remarks

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