ParentControlDesigner.GridSize 屬性

定義

取得或設定設計工具在繪製格線模式時,所繪製的格線中每一個方形的大小。

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

屬性值

Size

Size,表示在表單或使用者控制項上繪製之格線的每一個方形大小。

例外狀況

Size 位於 GridSize 的允許範圍之外。 預設的最小值為 2,預設的最大值為 200。

適用於

另請參閱