Struct
Range

Represents a struct, which defines a set of two values - High, Low.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public struct Range

Inherited Members ValueType.ToString()

Constructors

Range(double, double)

Initializes a new instance of the Range structure.

Declaration

cs-api-definition
public Range(double low, double high)

Parameters

low

double

The low value.

high

double

The high value.

Properties

High

Gets or sets the high value.

Declaration

cs-api-definition
public double High { readonly get; set; }

Property Value

double

The high value.

Low

Gets or sets the low value.

Declaration

cs-api-definition
public double Low { readonly get; set; }

Property Value

double

The low value.

Methods

Equals(Range)

Determines whether the specified Range is equal to the current Range.

Declaration

cs-api-definition
public bool Equals(Range obj)

Parameters

obj

Range

The object to compare with the current object.

Returns

bool

True if the specified Range is equal to the current Range; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

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

Parameters

obj

object

The object to compare with the current object.

Returns

bool

True if the specified object is equal to the current object; 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 !=(Range, Range)

Implements the operator !=.

Declaration

cs-api-definition
public static bool operator !=(Range range1, Range range2)

Parameters

range1

Range

The first Range struct.

range2

Range

The second Range struct.

Returns

bool

The result of the operator.

operator ==(Range, Range)

Implements the operator ==.

Declaration

cs-api-definition
public static bool operator ==(Range range1, Range range2)

Parameters

range1

Range

The first Range struct.

range2

Range

The second Range struct.

Returns

bool

The result of the operator.