Page 1 of 1

How to Set z-index

Posted: 05 Nov 2014, 10:57
by golgepapaz
Hi all,
how is that possible ? setting z-index property programatically v1.1.12

Re: How to Set z-index

Posted: 05 Nov 2014, 15:18
by Frodo
I just set the order of my xaml-files in the container like this:
var loaded = NoesisGUISystem.LoadXaml<T>(_xmlPath);
 _container.GetChildren().Add(loaded);
Panel.SetZIndex(loaded as DependencyObject, _zIndex);
The explanation I found here:

http://blogs.msdn.com/b/wpfsdk/archive/ ... perty.aspx

Re: How to Set z-index

Posted: 06 Nov 2014, 23:06
by sfernandez
Thanks @Frodo for the link, it explains very well how Z-Index works and should be used.