Class UIHelpers
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
Contains helper methods for UI.
public static class UIHelpers
- Inheritance
-
UIHelpers
Methods
- FindAncestor<T>(DependencyObject)
Returns the first ancestor of specified type
- GetParentObject(DependencyObject, bool)
Gets the parent. Which tree the parent is retrieved from depends on the parameters.
- TryFindChild<T>(DependencyObject)
Returns the first child of the specified type found in the visual tree.
- TryFindChild<T>(DependencyObject, string)
Returns the first child of the specified type and with the specified name found in the visual tree.
- TryFindParent<T>(DependencyObject, bool)
Gets first parent element of the specified type. Which tree the parent is retrieved from depends on the parameters.