New to Telerik UI for WPFStart a free 30-day trial

Range

Struct

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

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public struct Range

Inherited Members ValueType.ToString()

Constructors

Initializes a new instance of the Range structure.

C#
public Range(double low, double high)
Parameters:lowdouble

The low value.

highdouble

The high value.

Properties

Gets or sets the high value.

C#
public double High { readonly get; set; }
Property Value:

The high value.

Gets or sets the low value.

C#
public double Low { readonly get; set; }
Property Value:

The low value.

Methods

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

C#
public override bool Equals(object obj)
Parameters:objobject

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)

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

C#
public bool Equals(Range obj)
Parameters:objRange

The object to compare with the current object.

Returns:

bool

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

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: ValueType.GetHashCode()

Operators

Implements the operator !=.

C#
public static bool operator !=(Range range1, Range range2)
Parameters:range1Range

The first Range struct.

range2Range

The second Range struct.

Returns:

bool

The result of the operator.

Implements the operator ==.

C#
public static bool operator ==(Range range1, Range range2)
Parameters:range1Range

The first Range struct.

range2Range

The second Range struct.

Returns:

bool

The result of the operator.