Gets or sets the thickness of the border.
Assembly: System.Windows (in System.Windows.dll)
<Border BorderThickness="uniform"/> - or - <Border BorderThickness="left&right,top&bottom"/> - or - <Border BorderThickness="left,top,right,bottom"/>
In the XAML syntaxes shown, you can use a space rather than a comma as the delimiter between values.
See Remarks for value type, value bounds, and edge-case considerations that affect both code and XAML usages of .
Property ValueType: System.Windows.Thickness
The thickness of the border in pixels. The default is 0 on all four sides.
Dependency property identifier field: BorderThicknessProperty
The must be set to a nonzero value in order for a border to be visible. If the thickness is a positive value, the border is drawn inside the object's bounding box. If the thickness is negative, the border is drawn outside the object's bounding box.
You can set a uniform thickness for all sides of the border or set a specific value for each side. For details, see Thickness.
Nonintegral values of a Thickness for are technically permitted, but should generally be avoided. Nonintegral values introduce subpixel rendering, which can possibly result in antialiasing artifacts.
Negative values for Thickness values are technically permitted, but should be used with caution when setting the property. Negative values cause drawing outside the normal areas assigned for layout, but they could be used in this way for deliberate effect.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.