SelectionRegion
Represents a range specifying the selection.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public struct SelectionRegion
Constructors
Initializes a new instance of the SelectionRegion struct.
public SelectionRegion(int top, int left, int bottom, int right, VirtualGridViewInfo viewInfo)
The top index.
leftintThe left index.
bottomintThe bottom index .
rightintThe right index .
viewInfoVirtualGridViewInfoThe view info.
Fields
Represents an empty selection region where all properties are set to -1.
public static readonly SelectionRegion Empty
Properties
Gets the column index where the selection region starts.
public readonly int Left { get; }
Gets the column index where the selection region ends.
public readonly int Right { get; }
Gets the view info of the selection region.
public readonly VirtualGridViewInfo ViewInfo { get; }
Methods
Operators
Determines whether two regions have different bounds or reference different view-info instances.
public static bool operator !=(SelectionRegion A, SelectionRegion B)
The first selection region.
BSelectionRegionThe second selection region.
Returns:true if the bounds or view-info references differ; otherwise, false.
Determines whether two regions have the same bounds and reference the same view-info instance.
public static bool operator ==(SelectionRegion A, SelectionRegion B)
The first selection region.
BSelectionRegionThe second selection region.
Returns:true if the bounds and view-info references match; otherwise, false.