Gets or sets the size of each square of the grid that is drawn when the designer is in grid draw mode.
Protected Property GridSize As Size Get Set
protected Size GridSize { get; set; }
protected: property Size GridSize { Size get (); void set (Size value); }
member GridSize : Size with get, set
Size is outside the allowed range for GridSize. The default minimum value is 2, and the default maximum value is 200.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2