LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

HitTestHeader Method

Show in webframe





The System.Windows.Point to be tested.
Performs hit-testing on this AnnObject header.
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
) 

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

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.