Back to Devexpress

DocumentManager.CalcHitInfo(Point) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-documentmanager-dot-calchitinfo-x28-system-dot-drawing-dot-point-x29.md

latest1.9 KB
Original Source

DocumentManager.CalcHitInfo(Point) Method

Returns information on an object located at the specified position.

Namespace : DevExpress.XtraBars.Docking2010

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public BaseViewHitInfo CalcHitInfo(
    Point point
)
vb
Public Function CalcHitInfo(
    point As Point
) As BaseViewHitInfo

Parameters

NameTypeDescription
pointPoint

A test point where a target element is located.

|

Returns

TypeDescription
DevExpress.XtraBars.Docking2010.Views.BaseViewHitInfo

A BaseViewHitInfo descendant that contains information on an object located at the specified position.

|

Remarks

The CalcHitInfo method allows you to identify an object located at a specific point. The method returns the object that provides the View and Document properties. These identify the BaseView and BaseDocument objects that contain the specified point.

See Also

DocumentManager Class

DocumentManager Members

DevExpress.XtraBars.Docking2010 Namespace