Create slightly rounded border around a basic button in Silverlight

This example adds a little bit or margin space around the border and the button.

<Border Margin="25"  Background=" LightYellow" 
 BorderBrush="SteelBlue" BorderThickness="8" CornerRadius=" 15"> 
  <Button Margin="10 Content="Click  Me"></Button> 

Enjoyed this post? Share it!


Leave a comment

Your email address will not be published.