Dennis Liger
Dennis Liger

Reputation: 1516

WP7 Show Control on top of other control

Is it possible to show control on top of other control?

If so, how?

Especially I'm interesting in showing Border control on top of WebBrowser.

Thank you in advance!

Upvotes: 3

Views: 1341

Answers (2)

Bibaswann Bandyopadhyay
Bibaswann Bandyopadhyay

Reputation: 3557

You have to use canvas control. Place all of the contents inside a canvas and set elements individually by Canvas.Zindex property

Upvotes: 0

ColinE
ColinE

Reputation: 70170

Yes, you can show one control on top of another. Look at the Canvas.ZIndex attached property which is respected by all Panel implementations. Simply place your controls within a Panel so that they overlap then set their z-index accordingly.

Upvotes: 4

Related Questions