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