Back to Devexpress

AutoHideContainer.GetHitInfo(Point) Method

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-autohidecontainer-dot-gethitinfo-x28-system-dot-drawing-dot-point-x29.md

latest2.0 KB
Original Source

AutoHideContainer.GetHitInfo(Point) Method

Returns information about the container’s element located at the specified point.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override HitInfo GetHitInfo(
    Point ptClient
)
vb
Public Overrides Function GetHitInfo(
    ptClient As Point
) As HitInfo

Parameters

NameTypeDescription
ptClientPoint

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

|

Returns

TypeDescription
HitInfo

A HitInfo object which contains information about the auto hide container’s element at the test point.

|

Remarks

Use the GetHitInfo method to obtain details on the element located at the specified point within the auto hide container. The ptClient parameter should specify the point relative to the container’s top left corner. Read the HitInfo.HitTest property of the returned object to identify the element’s type.

See Also

AutoHideContainer Class

AutoHideContainer Members

DevExpress.XtraBars.Docking Namespace