wpf_get_visual_tree
Retrieve the visual tree hierarchy of a WPF application. Start from a specific element using its handle and control the depth of traversal.
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 |