Struct Thickness
Inherited Members
Namespace: Telerik.WinControls.RichTextEditor.UI
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public struct Thickness : IEquatable<Thickness>
Constructors
Thickness(Double)
Declaration
public Thickness(double uniformWidth)
Parameters
System.Double
uniformWidth
|
Thickness(Double, Double, Double, Double)
Declaration
public Thickness(double left, double top, double right, double bottom)
Parameters
System.Double
left
|
System.Double
top
|
System.Double
right
|
System.Double
bottom
|
Properties
Bottom
Gets or sets the width, in pixels, of the lower side of the bounding rectangle.
Declaration
public double Bottom { get; set; }
Property Value
System.Double
A System.Double that represents the width, in pixels, of the lower side of the bounding rectangle for this instance of System.Windows.Thickness. A pixel is equal to 1/96 of an inch. The default is 0. |
Left
Gets or sets the width, in pixels, of the left side of the bounding rectangle.
Declaration
public double Left { get; set; }
Property Value
System.Double
A System.Double that represents the width, in pixels, of the left side of the bounding rectangle for this instance of System.Windows.Thickness. a pixel is equal to 1/96 on an inch. The default is 0. |
Right
Gets or sets the width, in pixels, of the right side of the bounding rectangle.
Declaration
public double Right { get; set; }
Property Value
System.Double
A System.Double that represents the width, in pixels, of the right side of the bounding rectangle for this instance of System.Windows.Thickness. A pixel is equal to 1/96 of an inch. The default is 0. |
Top
Gets or sets the width, in pixels, of the upper side of the bounding rectangle.
Declaration
public double Top { get; set; }
Property Value
System.Double
A System.Double that represents the width, in pixels, of the upper side of the bounding rectangle for this instance of System.Windows.Thickness. A pixel is equal to 1/96 of an inch. The default is 0. |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
Equals(Thickness)
Declaration
public bool Equals(Thickness thickness)
Parameters
Thickness
thickness
|
Returns
System.Boolean
|
Implements
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
ToString()
Returns the string representation of the System.Windows.Thickness structure.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents the System.Windows.Thickness value. |
Overrides
Operators
Equality(Thickness, Thickness)
Compares the value of two System.Windows.Thickness structures for equality.
Declaration
public static bool operator ==(Thickness t1, Thickness t2)
Parameters
Thickness
t1
The first structure to compare. |
Thickness
t2
The other structure to compare. |
Returns
System.Boolean
true if the two instances of System.Windows.Thickness are equal; otherwise, false. |
Implicit(Padding to Thickness)
Declaration
public static implicit operator Thickness(Padding me)
Parameters
System.Windows.Forms.Padding
me
|
Returns
Thickness
|
Implicit(Thickness to Padding)
Declaration
public static implicit operator Padding(Thickness me)
Parameters
Thickness
me
|
Returns
System.Windows.Forms.Padding
|
Inequality(Thickness, Thickness)
Compares two System.Windows.Thickness structures for inequality.
Declaration
public static bool operator !=(Thickness t1, Thickness t2)
Parameters
Thickness
t1
The first structure to compare. |
Thickness
t2
The other structure to compare. |
Returns
System.Boolean
true if the two instances of System.Windows.Thickness are not equal; otherwise, false. |