Back to Devexpress

TableView.CalcHitInfo(Point) Method

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-dot-calchitinfo-x28-system-dot-windows-dot-point-x29.md

latest2.1 KB
Original Source

TableView.CalcHitInfo(Point) Method

Returns information about the specified element contained within the table view.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TableViewHitInfo CalcHitInfo(
    Point hitTestPoint
)
vb
Public Function CalcHitInfo(
    hitTestPoint As Point
) As TableViewHitInfo

Parameters

NameTypeDescription
hitTestPointPoint

A Point structure which specifies the test point coordinates relative to the map’s top-left corner.

|

Returns

TypeDescription
TableViewHitInfo

A TableViewHitInfo object that contains information about the specified view element.

|

Remarks

The CalcHitInfo method allows you to obtain information about any element contained within the table view. This can be useful when it is required to determine which element of a view is located under the test point. The CalcHitInfo method returns a TableViewHitInfo object that contains the required information (visual element, its location within a view, etc.).

To learn more, see Hit Information.

See Also

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace