You can set it in the designer for the UserControl. Then, if you want to be able to change it, you'll have to make a property that changes the borderstyle.