wpf_get_visual_tree
Retrieve and navigate the visual tree of a WPF application. Start from a specific element and control depth to inspect UI hierarchy.
Instructions
Get the visual tree hierarchy. Use root_handle to start from a specific element (from wpf_find_elements). Use max_depth to control depth (1-100, default 25). For deep UIs like AvalonDock, increase max_depth or use root_handle to zoom into a subtree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| root_handle | No |