.net - How to set the Z order index for adorner in WPF -


I am trying to set the Z order index for an adorner, currently the adorner is at the top level and I want to It's adorning it to change the index of control.

When I need adorner to call Panel.GetZIndex (control) for control, that's when I '0 / P>

when I am 0 or int. When Adorner tries to set the Z index with MinValue, it seems that there is no effect and adorner is still at the top level.

How do you set the Z Order order for Adorner?

I think you might read that the page on MSDN is because you have a Z-index of alcoholic because it is not part of the normal view tree, and in fact, sits in its own AdornerLayer always at the top of the main view tree From the page:

Adorners are provided in Adonarelayer, which is a rendering station Which is always in the collection of decorated elements or decorated elements.

Please note that there will be nothing for Adorner by calling panel.GetZIndex (control) because it Panel . It is not in a grid which is similar to trying to set the asset of the attachment to Grid.Row on the UIElement ... it will be any No effect

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -