[]
        
(Showing Draft Content)

C1.WinUI.Grid.GridHitTestInfo

GridHitTestInfo Class

Contains information about a part of the FlexGrid at a specified coordinate.

Inheritance
GridHitTestInfo
Namespace: C1.WinUI.Grid
Assembly: C1.WinUI.Grid.dll
Syntax
public class GridHitTestInfo
Remarks

The GridHitTestInfo class, in conjunction with the FlexGrid.HitTest(RoutedEventArgs) method of the FlexGrid control, is used to determine which part of a FlexGrid control the user has clicked. The GridHitTestInfo class contains the row, column, and type of cell at the specified location.

To obtain a GridHitTestInfo, call the FlexGrid.HitTest(RoutedEventArgs) method from one of the pointer event handlers in the control.

Constructors

Name Description
GridHitTestInfo(FlexGrid, C1InputEventArgs)

Creates the GridHitTestInfo class instance.

Properties

Name Description
CellRange

Gets a GridCellRange object that represents the cell at the specified location.

CellType

Gets the type of cell at the specified location.

Column

Gets the index of the column at the specified location.

Row

Gets the index of the row at the specified location.