Redraw Method
Description
Redraws the GridControl.
Syntax
Public Sub Redraw()
Remarks
This method needs to be called any time you change a property in the GridPaintManager. This is required to redraw the visual changes that you make to the GridControl. For example, you would need to call the Redraw method after you change the grid line style.
Example
This sample illustrates how to use the Redraw method in Visual Basic:
wndGridControl.PaintManager.VerticalGridStyle = xtpGridLargeDots
wndGridControl.PaintManager.HorizontalGridStyle = xtpGridSmallDots
wndGridControl.PaintManager.ColumnStyle = xtpColumnShaded
' The Redraw method must be called to apply the new style to the GridControl
wndGridControl.Redraw
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.