Syncfusion.Grid.Windows
Example 


CreateGridGraphics Method

Creates a System.Drawing.Graphics object for this control and raises a GridModel.PrepareGraphics event. The graphics object must be disposed after usage.
Syntax
'Declaration
 
Public Overridable Function CreateGridGraphics() As Graphics
'Usage
 
Dim instance As GridControlBase
Dim value As Graphics
 
value = instance.CreateGridGraphics()
public virtual Graphics CreateGridGraphics()

Return Value

Remarks
Example
This example shows how to create the graphics object for the grid control.
//Creates the Graphics for the control.
Graphics graphics = this.gridControl1.CreateGridGraphics();
'Creates the Graphics for the control.
Dim graphics As Graphics = Me.gridControl1.CreateGridGraphics()
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also