ClassPadding
Immutable padding or margin values for the four sides of a rectangle in device-independent pixels.
Definition
Namespace:Telerik.Windows.Documents.Primitives
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
public class Padding
Inheritance: objectPadding
Constructors
Padding(double)
Initializes a new instance of the Padding class and sets all paddings to a given value.
Declaration
public Padding(double all)
Parameters
all
The value in device independent pixels (1/96 inch).
Padding(double, double, double, double)
Initializes a new instance of the Padding class.
Declaration
public Padding(double left, double top, double right, double bottom)
Parameters
left
The left padding in device independent pixels (1/96 inch).
top
The top padding in device independent pixels (1/96 inch).
right
The right padding in device independent pixels (1/96 inch).
bottom
The bottom padding in device independent pixels (1/96 inch).
Fields
Properties
Bottom
Gets the bottom padding. The value is in device independent pixels (1/96 inch).
Declaration
public double Bottom { get; }
Property Value
The bottom padding.
Left
Gets the left padding. The value is in device independent pixels (1/96 inch).
Right
Gets the right padding. The value is in device independent pixels (1/96 inch).
Methods
GetHashCode()
Serves as a hash function for a particular type.
ToString()
Return a comma-separated Left, Top, Right, Bottom representation of the Padding values.
Operators
operator !=(Padding, Padding)
Determines whether the specified paddings are different.
operator ==(Padding, Padding)
Determines whether the specified paddings are equal.