System.Windows.Forms.Control.Margin Property

Gets or sets the space between controls.

Syntax

[System.ComponentModel.Localizable(true)]
public Padding Margin { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Controls receive default values for Control.Margin that are reasonably close to Windows user interface guidelines. Some adjustments might still be necessary for particular applications.

Note:

Setting the Control.Margin property on a docked control has no effect on the distance of the control from the the edges of its container.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0