Class Padding
Represents padding or margin information.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Primitives
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class Padding
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
System. 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
System. The left padding in device independent pixels (1/96 inch). |
System. The top padding in device independent pixels (1/96 inch). |
System. The right padding in device independent pixels (1/96 inch). |
System. The bottom padding in device independent pixels (1/96 inch). |
Fields
Empty
Properties
Bottom
Gets the bottom padding. The value is in device independent pixels (1/96 inch).
Declaration
public double Bottom { get; }
Property Value
System. The bottom padding. |
Left
Gets the left padding. The value is in device independent pixels (1/96 inch).
Declaration
public double Left { get; }
Property Value
System. The left padding. |
Right
Gets the right padding. The value is in device independent pixels (1/96 inch).
Declaration
public double Right { get; }
Property Value
System. The right padding. |
Top
Gets the top padding. The value is in device independent pixels (1/96 inch).
Declaration
public double Top { get; }
Property Value
System. The top padding. |
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. Returns true if the specified System. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.
|
Overrides
Operators
Equality(Padding, Padding)
Determines whether the specified paddings are equal.
Declaration
public static bool operator ==(Padding a, Padding b)
Parameters
Returns
System. True if the paddings are equal. |
Inequality(Padding, Padding)
Determines whether the specified paddings are different.
Declaration
public static bool operator !=(Padding a, Padding b)
Parameters
Returns
System. True if the paddings are different. |