Can't find anchor property in WPF, was it reconstructed to Horizontal and Vertical Alignments? Is it the same? I wanted to stretch my control in both sides (right and left), but it worked rather different than anchor
+1
A:
You can do something like Anchor like this
<...HorizontalAlignment='Stretch' VerticalAlignment='Stretch' Margin='50,50,50,50'.../>
ArsenMkrt
2009-12-09 11:31:12
+3
A:
The Anchor and Dock properties of Windows Forms are replaced by appropriate layouting containers in WPF. Depending on what exactly you need you should be able to create your desired layout in WPF with the Grid or DockPanel containers.
Joey
2009-12-09 11:31:35