Struct
RadThickness

Represents a structure that defines margins (or padding) of an element.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public struct RadThickness

Inherited Members ValueType.ToString()

Constructors

RadThickness(double, double, double, double)

Initializes a new instance of the RadThickness struct.

Declaration

cs-api-definition
public RadThickness(double left, double top, double right, double bottom)

Parameters

left

double

The left.

top

double

The top.

right

double

The right.

bottom

double

The bottom.

Fields

Bottom

Bottom length.

Declaration

cs-api-definition
public double Bottom

Field Value

double

Empty

A RadThickness instance with Left, Top, Right, and Bottom components equal to 0.

Declaration

cs-api-definition
public static readonly RadThickness Empty

Field Value

RadThickness

Left

Left length.

Declaration

cs-api-definition
public double Left

Field Value

double

Right

Right length.

Declaration

cs-api-definition
public double Right

Field Value

double

Top

Top length.

Declaration

cs-api-definition
public double Top

Field Value

double

Methods

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides ValueType.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides ValueType.GetHashCode()

Operators

operator !=(RadThickness, RadThickness)

Determines whether two RadThickness structures are not equal.

Declaration

cs-api-definition
public static bool operator !=(RadThickness thickness1, RadThickness thickness2)

Parameters

thickness1

RadThickness

thickness2

RadThickness

Returns

bool

operator ==(RadThickness, RadThickness)

Determines whether two RadThickness structures are equal.

Declaration

cs-api-definition
public static bool operator ==(RadThickness thickness1, RadThickness thickness2)

Parameters

thickness1

RadThickness

thickness2

RadThickness

Returns

bool