Xceed SmartUI for WinForms v3.6 Documentation
HitTest(Point) Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItem Class > HitTest Method : HitTest(Point) Method
A System.Drawing.Point structure representing the location of the SmartItem relative to the ClientRectangle..
Retrieves the section of the SmartItem at a specified System.Drawing.Point relative to the ClientRectangle.
Syntax
'Declaration
 
Public Overloads Overridable Function HitTest( _
   ByVal point As Point _
) As SmartItemSection
'Usage
 
Dim instance As SmartItem
Dim point As Point
Dim value As SmartItemSection
 
value = instance.HitTest(point)
public virtual SmartItemSection HitTest( 
   Point point
)

Parameters

point
A System.Drawing.Point structure representing the location of the SmartItem relative to the ClientRectangle..

Return Value

A SmartItemSection value representing the section of the SmartItem at the specified System.Drawing.Point.
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

Reference

SmartItem Class
SmartItem Members
Overload List