Struct SelectionRange<T>
Simple structure representing a simple Generic range.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public struct SelectionRange<T>
Type Parameters
T
|
Constructors
SelectionRange(T, T)
Initializes a new instance of the SelectionRange<T> struct.
Declaration
public SelectionRange(T start, T end)
Parameters
T
start
The start. |
T
end
The end. |
Properties
End
Gets or sets the End property.
Declaration
public T End { get; set; }
Property Value
T
|
Start
Gets or sets the Start property.
Declaration
public T Start { get; set; }
Property Value
T
|
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
Operators
Equality(SelectionRange<T>, SelectionRange<T>)
Implements the operator ==.
Declaration
public static bool operator ==(SelectionRange<T> range1, SelectionRange<T> range2)
Parameters
SelectionRange<T>
range1
The range1. |
SelectionRange<T>
range2
The range2. |
Returns
System.Boolean
The result of the operator. |
Inequality(SelectionRange<T>, SelectionRange<T>)
Implements the operator !=.
Declaration
public static bool operator !=(SelectionRange<T> range1, SelectionRange<T> range2)
Parameters
SelectionRange<T>
range1
The range1. |
SelectionRange<T>
range2
The range2. |
Returns
System.Boolean
The result of the operator. |