Silverlight Z-Order (Drawing Order)? RRS feed

  • Question

  • Is there any way possible to change the z-order of a user control?

    Sunday, October 14, 2007 2:14 PM


All replies

  • Similar to with HTML, you can set the Canvas.ZIndex property, or you can change the place of the control within the collection that contains it (by executing Children.Remove( .. ) and Children.Insert( .. ) 


    Sunday, October 14, 2007 3:14 PM
  • Ah Thanks Big Smile

    Sunday, October 14, 2007 6:42 PM
  •  Thanks, this add/remove child call is exactly what I needed!


    Maybe Microsoft should add a method or something like "bring to front" that would be massively convenient 

    Tuesday, July 28, 2009 10:13 PM