Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

Margin

Silverlight

Gets or sets the outer margin of a UIElement.

<object Margin="uniform"/>
- or -
<object Margin="left&Right,top&Bottom"/>
- or -
<object Margin="left,top,right,bottom"/>
value = object.Margin
object.Margin = value

Type: Thickness

An object that defines the four measurements of the margin.

This property is read/write. The default is an empty object, which evaluates to all values as 0.

Margin is available only as a property for the JavaScript API if the client is Silverlight version 2.

Silverlight 2

Community Additions

ADD
Show:
© 2014 Microsoft