Control.Margin 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定控制區之間的空格。
public:
property System::Windows::Forms::Padding Margin { System::Windows::Forms::Padding get(); void set(System::Windows::Forms::Padding value); };
public System.Windows.Forms.Padding Margin { get; set; }
member this.Margin : System.Windows.Forms.Padding with get, set
Public Property Margin As Padding
屬性值
A Padding 代表控制點之間的空間。
備註
控制項預設值 Margin 與 Windows 使用者介面指引相當接近。 某些應用仍可能需要做一些調整。
備註
將屬性設 Margin 在停靠控制節點上,不會影響控制點與容器邊緣的距離。