What problem does it solve? Working with a custom C# UI framework's visual tree requires knowing how parents, children, roots, and hit testing interact. This Skill provides the patterns and APIs needed to navigate element hierarchies, find ancestors, handle lifecycle events, and implement custom hit-test regions in MewUI. ## Core Features & Use Cases - Tree Traversal: Find visual roots, check ancestry with IsDescendantOf/IsAncestorOf, and locate ancestors by type using generic helper methods. - Parent-Child Management: Work with Panel multi-child collections, ContentControl single content, and Border child elements. - Custom Hit Testing: Implement circular buttons, donut shapes, pass-through elements, and hotspot regions using parent-relative coordinates. - Use Case: When building a custom control in MewUI that needs a non-rectangular clickable area, use the hit-testing patterns to override OnHitTest with geometric checks like point-in-circle or point-in-triangle tests. ## Quick Start Ask the AI to show how to find the parent Window of a MewUI element and implement a circular hit test for a custom button.