I am building a programm right now but need a little help with C#. I want the programm to grow the controls with the form and shrink with the form but stay in the right relation with the form.
CodePudding user response:
Like this?
<DockPanel VerticalAlignment="Stretch">
<Button DockPanel.Dock="Top" Margin="10,10,30,30">My control</Button>
</DockPanel>