New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Used to set the page margins.

Definition

Constructors

C#
public PageMarginsElement()

Properties

Determines the size of the Bottom margin

C#
public double Bottom { get; set; }
Exceptions: ArgumentOutOfRangeException

Value is out of range.

C#
protected override string EndTag { get; }

Overrides: ElementBase.EndTag

Determines the size of the Left margin

C#
public double Left { get; set; }
Exceptions: ArgumentOutOfRangeException

Value is out of range.

Determines the size of the Right margin

C#
public double Right { get; set; }
Exceptions: ArgumentOutOfRangeException

Value is out of range.

C#
protected override string StartTag { get; }

Overrides: ElementBase.StartTag

Determines the size of the Top margin

C#
public double Top { get; set; }
Exceptions: ArgumentOutOfRangeException

Value is out of range.

Methods

Appends the attirbutes to the output

C#
protected override void AppendAttributes(StringBuilder sb)
Parameters:sbStringBuilder

StringBuilder object that holds the rendered output

Overrides: ElementBase.AppendAttributes(StringBuilder)