Gets or sets the Brush used to fill the background of the content area.
Assembly: PresentationFramework (in PresentationFramework.dll)
The following example shows how to set the Paragraph as the example element.attribute, using
<FlowDocumentReader> <FlowDocument> <Paragraph Background="Bisque" Foreground="DarkGreen" Padding="4" > <Run> This text has a foreground color of dark green, and a background color of bisque. </Run> </Paragraph> </FlowDocument> </FlowDocumentReader>
The following figure shows how the preceding example renders.
The following example shows how to set theproperty programmatically.
Available since 3.0