I have a WPF application that has user validation. This is rendered in the adorner layer, that appears above all other layers, according to documentation.
In the screenshot you can see that this isn't exactly what I want. I have a popup called 'Alert details' which is a ChildWindow
from the Extended WPF Toolkit. It is positioned behind the adorner layer. How can I make the popup appear in front of the adorner layer?
I already tried setting a really high Panel.ZIndex
on the ChildWindow but that doesn't make a difference.
An AdornerDecorator
is used to provide a given AdornerLayer
for a set of controls. By default, this decorator is in the default Window
template, thus covering all controls in the window.
Add a new AdornerDecorator
around your form, and make sure the ChildWindow
comes after it so that it's above the decorator.
<Grid>
<AdornerDecorator>
... your summary form ...
</AdornerDecorator>
<ChildWindow .. />
</Grid>