To add border thickness to an object from code behind, you can try the following:
Border1.BorderThickness = new System.Windows.Thickness(2, 2, 2, 2);
To add border thickness to an object from code behind, you can try the following:
Border1.BorderThickness = new System.Windows.Thickness(2, 2, 2, 2);