I have the dock panel, two buttons on which docked to left and right corners and a stackpanel with controls located on it. I need to put a part of left and right sides of the stackpanel under this two docked buttons, and set to the first child of the stackpanel some shift from border. Is this possible????
Share
The easiest way would be to place all your controls in a
Canvasinstead of aDockPanel, and useCanvas.Top,Canvas.Left, and `Canvas.ZIndex to position your controls.A different way would be to use
RenderTransformsto adjust the element positioning at runtime.