Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Block.Margin Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the amount of space around a Block element.

public:
 property Thickness Margin { Thickness get(); void set(Thickness value); };
Thickness Margin();

void Margin(Thickness value);
public Thickness Margin { get; set; }
var thickness = block.margin;
block.margin = thickness;
Public Property Margin As Thickness
<Paragraph Margin="uniform"/>
- or -
<Paragraph Margin="left+right,top+bottom"/>
- or -
<Paragraph Margin="left,top,right,bottom"/>
 

Property Value

The amount of space around a Block element.

Applies to

See also


Feedback

Was this page helpful?