Struct RadThickness
Represents a structure that defines margins (or padding) of an element.
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.dll
Syntax
public struct RadThickness
Constructors
RadThickness(Double, Double, Double, Double)
Initializes a new instance of the RadThickness struct.
Declaration
public RadThickness(double left, double top, double right, double bottom)
Parameters
System.Double
left
The left. |
System.Double
top
The top. |
System.Double
right
The right. |
System.Double
bottom
The bottom. |
Fields
Bottom
Bottom length.
Declaration
public double Bottom
Field Value
System.Double
|
Empty
A RadThickness instance with Left, Top, Right, and Bottom components equal to 0.
Declaration
public static readonly RadThickness Empty
Field Value
RadThickness
|
Left
Left length.
Declaration
public double Left
Field Value
System.Double
|
Right
Right length.
Declaration
public double Right
Field Value
System.Double
|
Top
Top length.
Declaration
public double Top
Field Value
System.Double
|
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |
Overrides
Operators
Equality(RadThickness, RadThickness)
Determines whether two RadThickness structures are equal.
Declaration
public static bool operator ==(RadThickness thickness1, RadThickness thickness2)
Parameters
RadThickness
thickness1
|
RadThickness
thickness2
|
Returns
System.Boolean
|
Inequality(RadThickness, RadThickness)
Determines whether two RadThickness structures are not equal.
Declaration
public static bool operator !=(RadThickness thickness1, RadThickness thickness2)
Parameters
RadThickness
thickness1
|
RadThickness
thickness2
|
Returns
System.Boolean
|