Struct
SelectionRange<T>

Simple structure representing a simple Generic range.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Type Parameters:

T

Syntax:

cs-api-definition
public struct SelectionRange<T>

Inherited Members ValueType.ToString()

Constructors

SelectionRange(T, T)

Initializes a new instance of the SelectionRange<T> struct.

Declaration

cs-api-definition
public SelectionRange(T start, T end)

Parameters

start

T

The start.

end

T

The end.

Properties

End

Gets or sets the End property.

Declaration

cs-api-definition
public T End { readonly get; set; }

Property Value

T

Start

Gets or sets the Start property.

Declaration

cs-api-definition
public T Start { readonly get; set; }

Property Value

T

Methods

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides ValueType.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides ValueType.GetHashCode()

Operators

operator !=(SelectionRange<T>, SelectionRange<T>)

Implements the operator !=.

Declaration

cs-api-definition
public static bool operator !=(SelectionRange<T> range1, SelectionRange<T> range2)

Parameters

range1

SelectionRange<T>

The range1.

range2

SelectionRange<T>

The range2.

Returns

bool

The result of the operator.

operator ==(SelectionRange<T>, SelectionRange<T>)

Implements the operator ==.

Declaration

cs-api-definition
public static bool operator ==(SelectionRange<T> range1, SelectionRange<T> range2)

Parameters

range1

SelectionRange<T>

The range1.

range2

SelectionRange<T>

The range2.

Returns

bool

The result of the operator.