I'm building a WPF application and having some difficulty in the layout of my buttons.
I have 3 command buttons. The buttons are a fixed height/width.
I want them fixed vertically (docked) to the bottom of my window.
When the window resizes vertically, the buttons are to remain at the bottom of the window.
(I've achieved this with a dock panel).
The buttons are to maintain a constant distance between themselves horizontally.
So, when the window resizes horizontally, I would like the 3 buttons centered (with the same distance between them).
I've tried experimenting with grids, stackpanels and dockpanels, but have not been quite able to figure this out.
How would I lay this out in XAML?