GridControl.Redraw(Boolean) Method
Forces the control to immediately redraw itself.
Namespace: DevExpress.Mobile.DataGrid
Assembly: DevExpress.Mobile.Grid.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
forceLayout | Boolean | true, to repaint an entire grid layout ; otherwise, false. |
Remarks
Important
This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.
The Redraw method recalculates the graphical information of the GridControl and then redraws it. It can be useful when you custom paint grid elements and need to redraw them due to custom changes that do not lead to automatic repainting.
If you need to only redraw grid rows, set the forceLayout parameter to false. To force update of the entry control, set this parameter to true.