StructSelectionRegion
Represents a range specifying the selection.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public struct SelectionRegion
Inherited Members
Constructors
SelectionRegion(int, int, int, int, VirtualGridViewInfo)
Initializes a new instance of the SelectionRegion struct.
Declaration
public SelectionRegion(int top, int left, int bottom, int right, VirtualGridViewInfo viewInfo)
Parameters
top
The top index.
left
The left index.
bottom
The bottom index .
right
The right index .
viewInfo
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.
Left
Gets the column index where the selection region starts.
Right
Gets the column index where the selection region ends.
Top
Gets the row index where the selection region starts.
ViewInfo
Gets the view info of the selection region.
Declaration
public readonly VirtualGridViewInfo ViewInfo { get; }
Property Value
Methods
Contains(int, int)
Determines whether the selection region contains the specified cell.
ContainsColumn(int)
Determines whether the selection region contains the specified column.
ContainsRow(int)
Determines whether the selection region contains the specified row.
GetHashCode()
Serves as a hash function for a particular type.
Operators
operator !=(SelectionRegion, SelectionRegion)
Declaration
public static bool operator !=(SelectionRegion A, SelectionRegion B)
Parameters
A
B
Returns
operator ==(SelectionRegion, SelectionRegion)
Declaration
public static bool operator ==(SelectionRegion A, SelectionRegion B)
Parameters
A
B
Returns