How to: Adorn the Children of a Panel
This example shows how to programmatically bind an adorner to the children of a specified Panel.
To bind an adorner to the children of a Panel, follow these steps:
Enumerate through the children of the parent element and call the Add method to bind an adorner to each child element.
The following example binds a SimpleCircleAdorner (shown above) to the children of a StackPanel named myStackPanel.