button1.Margin = new Thickness(50, 50, 0, 0);
<Button Margin="50,50,0,0" ....
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)