Gets or sets a Brush to use when painting the element's border.
Assembly: PresentationFramework (in PresentationFramework.dll)
<FlowDocument> <Paragraph Name="par" BorderBrush="Blue" BorderThickness="0.25in" > <Run> Child elements in this Block element (Paragraph) will be surrounded by a blue border. </Run> <LineBreak/><LineBreak/> <Run> This border will be one quarter inch thick in all directions. </Run> </Paragraph> </FlowDocument>
The following figure shows how this example renders.
The following example shows how to set the BorderBrush property programmatically.