Version

Margin Property (Style)

The amount of space for margins of an object.

Syntax
'Declaration
 
Public ReadOnly Property Margin As Margin
public Margin Margin {get;}
Remarks

Margins can be set for the entire object or for one or more of its sides.

Use this property to specify the margins to render the object with on the client. It will be rendered as the CSS margin attribute.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also