ValueRange<T>
Represents a structure that defines a range of two IComparable structures - like Single or Double.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.ChartView.dll
Type Parameters:
T
Must implement the IComparable interface.
Syntax:
public struct ValueRange<T> where T : struct, IComparable<T>
Inherited Members
Constructors
Initializes a new instance of the ValueRange<T> struct.
public ValueRange(T min, T max)
The min.
maxTThe max.
Fields
Empty value range where minimum and maximum are set to their default(T) value.
public static readonly ValueRange<T> Empty
Properties
Gets or sets the maximum value.
public T Maximum { get; set; }
Gets or sets the minimum value.
public T Minimum { get; set; }
Methods
Returns a hash code for this instance.
public override int GetHashCode()
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides:
Determines whether the specified value is within the range, excluding its minimum and maximum values.
Operators
Determines whether two ranges are not equal.
public static bool operator !=(ValueRange<T> r1, ValueRange<T> r2)
Determines whether two ranges are equal.
public static bool operator ==(ValueRange<T> r1, ValueRange<T> r2)