Struct SelectionRegion
Represents a range specifying the selection.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public struct SelectionRegion
Constructors
SelectionRegion(Int32, Int32, Int32, Int32, VirtualGridViewInfo)
Initializes a new instance of the Selection
Declaration
public SelectionRegion(int top, int left, int bottom, int right, VirtualGridViewInfo viewInfo)
Parameters
System. The top index. |
System. The left index. |
System. The bottom index . |
System. The right index . |
Virtual The view info. |
Fields
Empty
Represents an empty selection region where all properties are set to -1.
Declaration
public static readonly SelectionRegion Empty
Field Value
Properties
Bottom
Gets the row index where the selection region ends.
Declaration
public int Bottom { get; }
Property Value
System.
|
Left
Gets the column index where the selection region starts.
Declaration
public int Left { get; }
Property Value
System.
|
Right
Gets the column index where the selection region ends.
Declaration
public int Right { get; }
Property Value
System.
|
Top
Gets the row index where the selection region starts.
Declaration
public int Top { get; }
Property Value
System.
|
ViewInfo
Gets the view info of the selection region.
Declaration
public VirtualGridViewInfo ViewInfo { get; }
Property Value
Methods
Contains(Int32, Int32)
Determines whether the selection region contains the specified cell.
Declaration
public bool Contains(int row, int column)
Parameters
System. The cell row index. |
System. The cell column index. |
Returns
System.
|
ContainsColumn(Int32)
Determines whether the selection region contains the specified column.
Declaration
public bool ContainsColumn(int column)
Parameters
System. The column index. |
Returns
System. True if the column is contained in the selection region, otherwise false. |
ContainsRow(Int32)
Determines whether the selection region contains the specified row.
Declaration
public bool ContainsRow(int row)
Parameters
System. The row index. |
Returns
System. True if the row is contained in the selection region, otherwise false. |
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The object to compare with the current object. |
Returns
System. true if the specified System. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
Overrides
Operators
Equality(SelectionRegion, SelectionRegion)
Declaration
public static bool operator ==(SelectionRegion A, SelectionRegion B)
Parameters
Returns
System.
|
Inequality(SelectionRegion, SelectionRegion)
Declaration
public static bool operator !=(SelectionRegion A, SelectionRegion B)
Parameters
Returns
System.
|