I started to make some thing in WPF and I have a question. I think the answer might be easy and even obvious, but somehow…
I have two controls on a form enclosed by a grid. I want two position the second control above the first one (it’s transparent). Coming from WinForms development that isn’t that hard, so it won’t be in WPF. But I don’t get the point…
Sascha
Either the
GridandCanvascontrols would do what you wanted.For most cases I’d recommend using the
Gridto overlay elements, as you can also control how they resize easily. They’ll stack in the order you define them (last defined at the top).Try something like this:
BTW – learning XAML is much easier to do in an interactive tool like Kaxaml.