You have a horizontal edge of 200 and a button width of 125, which means that the total width required for the control to display correctly is about 525.
You also have HorizontalAlignment=Left" on the DockPanel , which means that it will draw content at any desired width and align it on the left side of the screen, rather than stretching it to fill all the free space. This means that it blocks the space by 200 on either side of the control and draws a button in the remaining space.If this remaining space is less than 125, the image will be cropped.
If you switch to HorizontalAlignment="Stretch" , then he first draws the control (with fields) and then stretches its size to fit all available space, so the whole control will be resized, not cropped.
You may be interested in reading this MSDN article on alignment, margins, and padding in WPF.
Edit
If you only want the Left marker to be 200, use Margin="200,0,0,0" . Using Margin="200,0" means that both the left and right margins will be 200.
source share