wat isPanel.ZIndex="10" ?

Posted by rameshbergu-10345 under WPF on 5/23/2011 | Points: 10 | Views : 1739 | Status : [Member] | Replies : 1
what is zindex in wpf?
where we use it?

explain me with example.
thanks in advance.


Posted by: Ndebata on: 5/24/2011 [Member] Starter | Points: 25

In simple way one can say ZIndex is a postion at which element is shown in order.
Lets think that the Computer screen is the X-Y plane, so that Z axis will pe perpendicular to it.

And the position on z axis is called Z index.

Lets say there are 3 Panels with zindex are given bellow.
panel1  zindex=100

panel2 zindex=50
panel3 zindex=200

Then on the screen as explained panel2 will appear first then on top of that panel1 and finally on panel3 will appear on top of all.


rameshbergu-10345, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response