ArcFM Solution Developer Guide
TreeHelper Class Members
Methods 


The following tables list the members exposed by TreeHelper.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)FindChild<T>Finds a Child of a given item in the visual tree.  
Public Methodstatic (Shared in Visual Basic)FindChildren<T>Analyzes both visual and logical tree in order to find all elements of a given type that are descendants of the source item.  
Public Methodstatic (Shared in Visual Basic)FirstOrDefault<T>First or default.  
Public Methodstatic (Shared in Visual Basic)GetChildObjectsThis method is an alternative to WPF's System.Windows.Media.VisualTreeHelper.GetChild(System.Windows.DependencyObject,System.Int32) method, which also supports content elements. Keep in mind that for content elements, this method falls back to the logical tree of the element.  
Public Methodstatic (Shared in Visual Basic)GetParentObjectThis method is an alternative to WPF's System.Windows.Media.VisualTreeHelper.GetParent(System.Windows.DependencyObject) method, which also supports content elements. Keep in mind that for content element, this method falls back to the logical tree of the element!  
Public Methodstatic (Shared in Visual Basic)IsDescendentOfElementDetermines if the given element is a child of a System.Windows.FrameworkElement with the given name.  
Public Methodstatic (Shared in Visual Basic)TryFindFirstAdornedChildTries the find first adorned child.  
Public Methodstatic (Shared in Visual Basic)TryFindFromPoint<T>Tries to locate a given item within the visual tree, starting with the dependency object at a given position.  
Public Methodstatic (Shared in Visual Basic)TryFindParent<T>Finds a parent of a given item on the visual tree.  
Top
See Also

Reference

TreeHelper Class
Miner.Desktop.Diagrams.Underground.UI Namespace

 

 


Send Comment