BringToFront and SendBack in WPF
-
What are counterparts of these methods in WPF? I drawed 2 intersecting polygons and I would like to bring one of them into front. Thanks for help
You will want to use the
ZIndex
property to adjust their display order. You can also Google: "wpf sendtoback" and you'll find an article on this.Cheers, Karl
» CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your ArticlesJust a grain of sand on the worlds beaches.
-
You will want to use the
ZIndex
property to adjust their display order. You can also Google: "wpf sendtoback" and you'll find an article on this.Cheers, Karl
» CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your ArticlesJust a grain of sand on the worlds beaches.
-
Read up on the ZIndex property. It is an attached property that is exposed by panels like the Canvas. Canvas.ZIndex="99"
Cheers, Karl
» CodeProject 2008 MVP My Blog | Mole's Home Page | How To Create Screen Capture Videos For Your ArticlesJust a grain of sand on the worlds beaches.