LogicalTree Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a collection of extensions methods for UI.
public static class LogicalTree
type LogicalTree = class
Public Module LogicalTree
- Inheritance
-
LogicalTree
Find |
Find first logical child control of a specified type. |
Find |
Find logical child control using its name. |
Find |
Find all logical child controls of the specified type. |
Find |
Find first logical parent control of a specified type. |
Find |
Finds the logical parent element with the given name or returns null. |
Get |
Retrieves the Content control of this element as defined by the ContentPropertyAttribute. |
Try |
Provides a WPF compatible version of TryFindResource to provide a static resource lookup. If the key is not found in the current element's resources, the logical tree is then searched element-by-element to look for the resource in each element's resources. If none of the elements contain the resource, the Application's resources are then searched. https://docs.microsoft.com/dotnet/api/system.windows.frameworkelement.tryfindresourcehttps://docs.microsoft.com/dotnet/desktop-wpf/fundamentals/xaml-resources-define#static-resource-lookup-behavior |
Producto | Versiones |
---|---|
Windows Community Toolkit | 6.1.1 |