locked
Newbie... BringToFront (changing z order) RRS feed

  • Question


  • How do I bring panels, controls etc to the front of the z order?
    Visual basic.net code



    Monday, March 2, 2009 12:24 PM

Answers

  • You can youse <Control Canvas.ZIndex="[n]" 7 /> for bringing in front or back.
    • Proposed as answer by Stef S Tuesday, March 3, 2009 7:15 AM
    • Marked as answer by sdasdhvjhjhg Tuesday, March 3, 2009 1:53 PM
    Tuesday, March 3, 2009 7:14 AM
  • I wanted to stay away from learning the syntax of xaml, but as I was reaserching your code example further I found this ....

     Canvas.SetZIndex(Panel1, 100)

    ... Which works perfectly (visual basic) without the xaml. Thank you.
    • Marked as answer by sdasdhvjhjhg Tuesday, March 3, 2009 1:53 PM
    Tuesday, March 3, 2009 1:52 PM

All replies

  • You can youse <Control Canvas.ZIndex="[n]" 7 /> for bringing in front or back.
    • Proposed as answer by Stef S Tuesday, March 3, 2009 7:15 AM
    • Marked as answer by sdasdhvjhjhg Tuesday, March 3, 2009 1:53 PM
    Tuesday, March 3, 2009 7:14 AM
  • I wanted to stay away from learning the syntax of xaml, but as I was reaserching your code example further I found this ....

     Canvas.SetZIndex(Panel1, 100)

    ... Which works perfectly (visual basic) without the xaml. Thank you.
    • Marked as answer by sdasdhvjhjhg Tuesday, March 3, 2009 1:53 PM
    Tuesday, March 3, 2009 1:52 PM