New to Telerik Reporting? Start a free 30-day trial

Padding

Class

Represents padding information associated with a report item.

The padding is the internal space between the body of the item and its edge.

Padding has a different effect on report items that are containers than on report items that are not. For example, in a Panel item, the Padding property defines the spacing between the border of the Panel and its child items. For a TextBox item, the Padding property defines the spacing between the border of the TextBox item and its contained text.

Definition

Namespace:Telerik.Reporting.Drawing

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter(typeof(PaddingConverter))]
public class Padding

Inheritance: objectPadding

Properties

Gets or sets the padding value for the bottom edge.

C#
public Unit Bottom { get; set; }
Property Value:

The padding, in Units, for the bottom edge.

Gets or sets the padding value for the left edge.

C#
public Unit Left { get; set; }
Property Value:

The padding, in Units, for the left edge.

Gets or sets the padding value for the right edge.

C#
public Unit Right { get; set; }
Property Value:

The padding, in Units, for the right edge.

Gets or sets the padding value for the top edge.

C#
public Unit Top { get; set; }
Property Value:

The padding, in Units, for the top edge.

Methods

This member overrides ToString()

C#
public override string ToString()
Returns:

string

A string value listing the Padding's members.

Overrides: object.ToString()