Back to Devexpress

GridControl.Redraw(Boolean) Method

xamarin-devexpress-dot-mobile-dot-datagrid-dot-gridcontrol-dot-redraw-x28-system-dot-boolean-x29.md

latest1.7 KB
Original Source

GridControl.Redraw(Boolean) Method

Forces the control to immediately redraw itself.

Namespace : DevExpress.Mobile.DataGrid

Assembly : DevExpress.Mobile.Grid.v18.2.dll

Declaration

csharp
public void Redraw(
    bool forceLayout
)
vb
Public Sub Redraw(
    forceLayout As Boolean
)

Parameters

NameTypeDescription
forceLayoutBoolean

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.

See Also

GridControl Class

GridControl Members

DevExpress.Mobile.DataGrid Namespace