Skip to main content
A newer version of this page is available. .

VGridControlBase.LayoutChanged() Method

Updates the vertical grid.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v19.2.dll

Declaration

public virtual void LayoutChanged()

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 following code snippets (auto-collected from DevExpress Examples) contain references to the LayoutChanged() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also