Class Range
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class Range
Constructors
Range()
Declaration
public Range()
Range(Int32, Int32)
Declaration
public Range(int from, int to)
Parameters
System.Int32
from
|
System.Int32
to
|
Fields
Empty
Full
Properties
Center
Declaration
public int Center { get; }
Property Value
System.Int32
|
From
Declaration
public int From { get; set; }
Property Value
System.Int32
|
Length
Declaration
public int Length { get; }
Property Value
System.Int32
|
To
Declaration
public int To { get; set; }
Property Value
System.Int32
|
Methods
CenterAt(Int32)
Declaration
public int CenterAt(int center)
Parameters
System.Int32
center
|
Returns
System.Int32
|
CenterAt(Int32, Int32, Int32)
Declaration
public static Range CenterAt(int from, int to, int center)
Parameters
System.Int32
from
|
System.Int32
to
|
System.Int32
center
|
Returns
Range
|
CenterAt(Range, Int32)
Declaration
public static Range CenterAt(Range range, int center)
Parameters
Range
range
|
System.Int32
center
|
Returns
Range
|
Copy(Range)
Create(Int32, Int32)
Declaration
public static Range Create(int from, int to)
Parameters
System.Int32
from
|
System.Int32
to
|
Returns
Range
|
Extend(Int32, Int32)
Declaration
public bool Extend(int left, int right)
Parameters
System.Int32
left
|
System.Int32
right
|
Returns
System.Boolean
|
Extend(Range, Int32, Int32)
Declaration
public static Range Extend(Range range, int left, int right)
Parameters
Range
range
|
System.Int32
left
|
System.Int32
right
|
Returns
Range
|
ExtendLeft(Int32)
Declaration
public bool ExtendLeft(int left)
Parameters
System.Int32
left
|
Returns
System.Boolean
|
ExtendRight(Int32)
Declaration
public bool ExtendRight(int right)
Parameters
System.Int32
right
|
Returns
System.Boolean
|
FromRangeIndex(Int32)
Declaration
public int FromRangeIndex(int index)
Parameters
System.Int32
index
|
Returns
System.Int32
|
FromRangeIndexRestricted(Int32)
Declaration
public int FromRangeIndexRestricted(int index)
Parameters
System.Int32
index
|
Returns
System.Int32
|
Intersect(Int32, Int32)
Declaration
public void Intersect(int from, int to)
Parameters
System.Int32
from
|
System.Int32
to
|
Intersect(Range)
Intersect(Range, Int32, Int32)
Declaration
public static void Intersect(Range target, int srcFrom, int srcTo)
Parameters
Range
target
|
System.Int32
srcFrom
|
System.Int32
srcTo
|
Intersect(Range, Range)
Declaration
public static void Intersect(Range target, Range source)
Parameters
Range
target
|
Range
source
|
Intersection(Int32, Int32)
Declaration
public Range Intersection(int from, int to)
Parameters
System.Int32
from
|
System.Int32
to
|
Returns
Range
|
Intersection(Int32, Int32, Int32, Int32)
Declaration
public static Range Intersection(int set1from, int set1to, int set2from, int set2to)
Parameters
System.Int32
set1from
|
System.Int32
set1to
|
System.Int32
set2from
|
System.Int32
set2to
|
Returns
Range
|
Intersection(Range)
Intersection(Range, Int32, Int32)
Declaration
public static Range Intersection(Range set1, int set2from, int set2to)
Parameters
Range
set1
|
System.Int32
set2from
|
System.Int32
set2to
|
Returns
Range
|
Intersection(Range, Range)
Declaration
public static Range Intersection(Range set1, Range set2)
Parameters
Range
set1
|
Range
set2
|
Returns
Range
|
IsInRange(Int32)
Declaration
public bool IsInRange(int index)
Parameters
System.Int32
index
|
Returns
System.Boolean
|
IsInRange(Range, Int32)
Declaration
public static bool IsInRange(Range range, int index)
Parameters
Range
range
|
System.Int32
index
|
Returns
System.Boolean
|
SetRange(Int32, Int32)
Declaration
public void SetRange(int from, int to)
Parameters
System.Int32
from
|
System.Int32
to
|
Shift(Int32)
Declaration
public int Shift(int positions)
Parameters
System.Int32
positions
|
Returns
System.Int32
|
ShiftLeft(Int32)
Declaration
public int ShiftLeft(int positions)
Parameters
System.Int32
positions
|
Returns
System.Int32
|
ShiftRight(Int32)
Declaration
public int ShiftRight(int positions)
Parameters
System.Int32
positions
|
Returns
System.Int32
|
Shrink(Int32, Int32)
Declaration
public bool Shrink(int left, int right)
Parameters
System.Int32
left
|
System.Int32
right
|
Returns
System.Boolean
|
Shrink(Range, Int32, Int32)
Declaration
public static Range Shrink(Range range, int left, int right)
Parameters
Range
range
|
System.Int32
left
|
System.Int32
right
|
Returns
Range
|
ShrinkLeft(Int32)
Declaration
public bool ShrinkLeft(int left)
Parameters
System.Int32
left
|
Returns
System.Boolean
|
ShrinkRight(Int32)
Declaration
public bool ShrinkRight(int right)
Parameters
System.Int32
right
|
Returns
System.Boolean
|
ToRangeIndex(Int32)
Declaration
public int ToRangeIndex(int index)
Parameters
System.Int32
index
|
Returns
System.Int32
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|