Class Range
Represents a struct, which defines a set of two values - High, Low.
Inheritance
Namespace: Telerik.Charting
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public sealed class Range : ValueType
Constructors
Range(Double, Double)
Initializes a new instance of the Range structure.
Declaration
public Range(double low, double high)
Parameters
System.Double
low
The low value. |
System.Double
high
The high value. |
Properties
High
Gets or sets the high value.
Declaration
public double High { get; set; }
Property Value
System.Double
The high value. |
Low
Gets or sets the low value.
Declaration
public double Low { get; set; }
Property Value
System.Double
The low value. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with the current object. |
Returns
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Equals(Range)
Declaration
public bool Equals(Range obj)
Parameters
Range
obj
The object to compare with the current object. |
Returns
System.Boolean
True if the specified Range is equal to the current Range; otherwise, false. |
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. |
Operators
Equality(Range, Range)
Implements the operator ==.
Declaration
public static bool operator ==(Range range1, Range range2)
Parameters
Range
range1
The first Range struct. |
Range
range2
The second Range struct. |
Returns
System.Boolean
The result of the operator. |
Inequality(Range, Range)
Implements the operator !=.
Declaration
public static bool operator !=(Range range1, Range range2)
Parameters
Range
range1
The first Range struct. |
Range
range2
The second Range struct. |
Returns
System.Boolean
The result of the operator. |