←Select platform

HitTestHeader Method

Summary

Performs hit-testing on this AnnObject header.

Syntax

C#
VB
C++
public bool HitTestHeader(  
   Point testPoint 
) 
Public Function HitTestHeader( _ 
   ByVal testPoint As Point _ 
) As Boolean 
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
The System.Windows.Point to be tested.

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
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize