Grid.BorderThickness Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the border thickness of the panel.
public:
property Thickness BorderThickness { Thickness get(); void set(Thickness value); };
Thickness BorderThickness();
void BorderThickness(Thickness value);
public Thickness BorderThickness { get; set; }
var thickness = grid.borderThickness;
grid.borderThickness = thickness;
Public Property BorderThickness As Thickness
<Grid BorderThickness="uniform"/>
- or -
<Grid BorderThickness="left&right,top&bottom"/>
- or -
<Grid BorderThickness="left,top,right,bottom"/>
Property Value
The border thickness of the panel, as a Thickness value.