[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.HitTestInfo

HitTestInfo Class

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

Inheritance
HitTestInfo
Namespace: C1.WPF.FlexGrid
Assembly: C1.WPF.FlexGrid.4.6.2.dll
Syntax
public class HitTestInfo
Remarks
<p>The <xref href="C1.WPF.FlexGrid.HitTestInfo" data-throw-if-not-resolved="false"></xref> class, in conjunction with the <xref href="C1.WPF.FlexGrid.C1FlexGrid.HitTest(System.Windows.RoutedEventArgs)" data-throw-if-not-resolved="false"></xref> 

method of the C1.WPF.FlexGrid control, is used to determine which part of a C1.WPF.FlexGrid control the user has clicked. The HitTestInfo class contains the row, column, and type of cell at the specified location.

To obtain a HitTestInfo, call the HitTest(RoutedEventArgs) method from one of the mouse event handlers in the control. Pass MouseEventArgs event parameter to the HitTest(RoutedEventArgs) method.

Properties

Name Description
CellRange

Gets a CellRange 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.

MouseEventArgs

Gets the RoutedEventArgs object used to create this HitTestInfo object.

Panel

Gets the GridPanel at the specified location.

Point

Gets the Point that defines the hit test location.

Rect

Gets a Rect value that represents the bounds of the cell at the specified location.

Row

Gets the index of the row at the specified location.