LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

HitTestHeader Method






The System.Windows.Point to be tested.
Performs hit-testing on this AnnObject header. .NET support Silverlight support
Syntax
public bool HitTestHeader( 
   Point testPoint
)
'Declaration
 
Public Function HitTestHeader( _
   ByVal testPoint As Point _
) As Boolean
'Usage
 
Dim instance As AnnObject
Dim testPoint As Point
Dim value As Boolean
 
value = instance.HitTestHeader(testPoint)
public bool HitTestHeader( 
   Point testPoint
)
 function Leadtools.Windows.Annotations.AnnObject.HitTestHeader( 
   testPoint 
)
public:
bool HitTestHeader( 
   Point testPoint
) 

Parameters

testPoint
The System.Windows.Point to be tested.

Return Value

A boolean value, true if the test point is on top of this AnnObject header, false otherwise.
Remarks

This method is called internally by the annotation framework whenever the AnnEditDesigner.OnMouseLeftButtonDown method is called. You do not need to call this property directly.

testPoint should be in physical coordinates.

If the header of this object is invisible (IsHeaderVisible is set to false), this method will not be called.

By default, an annotation object will return true if hit-testing the header was satisfied.

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

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.