I have a series of usercontrols that are added and removed from a canvas in code behind. I need to insure that certain ones are forward of others. How do you set, what used to be the ZOrder in VB6, the order of a user control once it is added to a canvas?
views:
923answers:
1
+4
A:
EDIT: Eh, apologies...you'll have to translate this to VB.Net code...as i only code in C# with WPF
Canvas.SetZIndex(control, zIndex);
And more info about canvas and the z-index: Canvas.ZIndex Attached Property
Bubblewrap
2009-02-04 19:27:07