Επεξεργασία

Κοινή χρήση μέσω


ParentControlDesigner.GridSize Property

Definition

Gets or sets the size of each square of the grid that is drawn when the designer is in grid draw mode.

protected:
 property System::Drawing::Size GridSize { System::Drawing::Size get(); void set(System::Drawing::Size value); };
protected System.Drawing.Size GridSize { get; set; }
member this.GridSize : System.Drawing.Size with get, set
Protected Property GridSize As Size

Property Value

A Size that represents the size of each square of the grid drawn on a form or user control.

Exceptions

Size is outside the allowed range for GridSize. The default minimum value is 2, and the default maximum value is 200.

Applies to

See also