VGridControlBase.LayoutChanged() Method
Updates the vertical grid.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
Declaration
Remarks
The LayoutChanged method recalculates all the control’s graphical information and redraws the control. This method is automatically called when global changes are applied to the vertical grid (for instance, when changing row height, records interval, layout style, etc). You may also call this method manually when the control needs to be updated. This can be useful if you implement custom behavior for the vertical grid or when you make changes to the data source and the data source doesn’t support automatic change notifications.
Calling the LayoutChanged method has no effect in the instances listed below:
- the grid is being initialized or destroyed;
- the grid’s VGridControlBase.BeginUpdate method was called previously and there was no matching call to the VGridControlBase.EndUpdate method.