ActiveReports Developer 7
DrawGrid Property
See Also  Example
GrapeCity.ActiveReports.Design.Win.v7 Assembly > GrapeCity.ActiveReports.Design Namespace > Designer Class : DrawGrid Property

Glossary Item Box

Gets or sets a value indicating whether a grid is drawn in the designer.

Syntax

Visual Basic (Declaration) 
Public Property DrawGrid As System.Boolean
C# 
public System.bool DrawGrid {get; set;}

Property Value

Boolean value.

Example

C#Copy Code
private void designer1_Load(object sender, System.EventArgs e)
{
    this.designer1.DrawGrid = true;
    this.designer1.GridX = 16;
    this.designer1.GridY = 16;
}
Visual BasicCopy Code
Private Sub Designer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
    Me.Designer1.DrawGrid = True
    Me.Designer1.GridX = 16
    Me.Designer1.GridY = 16
End Sub

See Also