Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.Controls.v3.6 Assembly / Xceed.SmartUI.Controls.ToolBar Namespace / MixedTool Class / HitTest Method / HitTest(Point) Method
The System.Drawing.Point to test.


In This Topic
    HitTest(Point) Method
    In This Topic
    Retrieves the section of the SmartItem at a specified System.Drawing.Point.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function HitTest( _
       ByVal point As Point _
    ) As SmartItemSection
    'Usage
     
    Dim instance As MixedTool
    Dim point As Point
    Dim value As SmartItemSection
     
    value = instance.HitTest(point)
    public override SmartItemSection HitTest( 
       Point point
    )

    Parameters

    point
    The System.Drawing.Point to test.

    Return Value

    A Xceed.SmartUI.SmartItemSection value representing the section of the SmartItem at the specified System.Drawing.Point.
    Remarks

    point can be compared using the Xceed.SmartUI.SmartItem.Bounds of the SmartItem.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also