Properties of the Border Class in Silverlight

Sets a background that appears behind all the content in the border using a Brush object. You can use a solid color among other options.
Sets the fill of the border that appears around the edge of the Border object, using a Brush object. The most straightforward approach is to use a SolidColorBrush to create a solid border.
Sets the width (in pixels) of the border on each side. The BorderThickness property holds an instance of the System.Windows.Thickness structure, with separate components for the top, bottom, left, and right edges.
Rounds the corners of your border. The greater the CornerRadius, the more dramatic the rounding effect is.
Adds spacing between the border and the content inside. (Margin adds spacing outside the border.)

Enjoyed this post? Share it!


Leave a comment

Your email address will not be published.