You can specify basic properties of a Border by setting its Width, Height, BorderThickness, and Background color. In addition, you can round the border corners by setting the CornerRadius property, and you can position the object inside the Border by setting the Padding property.
Border can contain only one child object. If you want to put a border around multiple objects, wrap them in a container object such as StackPanel.