ArcFM Solution Developer Guide
FindCanvasChild Method


A DependencyObject from which the search begins.
Walks up the visual tree starting with the specified DependencyObject, looking for a UIElement which is a child of the Canvas. If a suitable element is not found, null is returned. If the 'depObj' object is a UIElement in the Canvas's Children collection, it will be returned.
Syntax
'Declaration
 
Public Function FindCanvasChild( _
   ByVal depObj As System.Windows.DependencyObject _
) As System.Windows.FrameworkElement
'Usage
 
Dim instance As ElementCanvas
Dim depObj As System.Windows.DependencyObject
Dim value As System.Windows.FrameworkElement
 
value = instance.FindCanvasChild(depObj)
public System.Windows.FrameworkElement FindCanvasChild( 
   System.Windows.DependencyObject depObj
)

Parameters

depObj
A DependencyObject from which the search begins.
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

ElementCanvas Class
ElementCanvas Members

 

 


Send Comment