Miner.Desktop Assembly > Miner.Desktop.Diagrams.Underground.UI Namespace : TreeHelper Class |
The following tables list the members exposed by TreeHelper.
Name | Description | |
---|---|---|
![]() ![]() | FindChild<T> | Finds a Child of a given item in the visual tree. |
![]() ![]() | 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. |
![]() ![]() | FirstOrDefault<T> | First or default. |
![]() ![]() | GetChildObjects | This 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. |
![]() ![]() | GetParentObject | This 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! |
![]() ![]() | IsDescendentOfElement | Determines if the given element is a child of a System.Windows.FrameworkElement with the given name. |
![]() ![]() | TryFindFirstAdornedChild | Tries the find first adorned child. |
![]() ![]() | TryFindFromPoint<T> | Tries to locate a given item within the visual tree, starting with the dependency object at a given position. |
![]() ![]() | TryFindParent<T> | Finds a parent of a given item on the visual tree. |