Syncfusion.Grid.Windows


GetCachedGraphics() Method

Returns a System.Drawing.Graphics object that is instantiated on demand and cached. When the grid size, grid location or scroll position changes the graphics object will be recreated. Use GetCachedGraphics when you want to optimize drawing speed of the grid and call DrawClippedGrid(Graphics,Rectangle) to draw cells directly with this graphics object as shown in the TraderGridTest example.
Syntax
'Declaration
 
Public Overridable Function GetCachedGraphics() As Graphics
'Usage
 
Dim instance As GridControlBase
Dim value As Graphics
 
value = instance.GetCachedGraphics()
public virtual Graphics GetCachedGraphics()

Return Value

A Graphics object.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also