ArcFM Solution Developer Guide
TryFindFromPoint<T> Method


The type of the element to be found on the visual tree of the element at the given location.
The main element which is used to perform hit testing.
The position to be evaluated on the origin.
Tries to locate a given item within the visual tree, starting with the dependency object at a given position.
Syntax
'Declaration
 
Public Shared Function TryFindFromPoint(Of T As System.Windows.DependencyObject)( _
   ByVal reference As System.Windows.UIElement, _
   ByVal point As System.Windows.Point _
) As T
'Usage
 
Dim reference As System.Windows.UIElement
Dim point As System.Windows.Point
Dim value As T
 
value = TreeHelper.TryFindFromPoint(Of T)(reference, point)
public static T TryFindFromPoint<T>( 
   System.Windows.UIElement reference,
   System.Windows.Point point
)
where T: System.Windows.DependencyObject

Parameters

reference
The main element which is used to perform hit testing.
point
The position to be evaluated on the origin.

Type Parameters

T
The type of the element to be found on the visual tree of the element at the given location.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

TreeHelper Class
TreeHelper Members

 

 


Send Comment