This documentation is archived and is not being maintained.
FlowDocument::ColumnRuleBrush Property
Visual Studio 2010
Gets or sets the Brush used to draw the rule between columns.
Assembly: PresentationFramework (in PresentationFramework.dll)
The column rule is a line that is drawn between columns, and is used to visually separate columns of content.
For a table of swatches that show the available predefined brush colors, see Brushes.
This property has no effect if the ColumnRuleWidth property is 0 or nullptr.
Column rules are displayed only when there are two or more columns.
The following example shows how to set the ColumnRuleBrush property programmatically.
More Code
| How to: Use FlowDocument Column-Separating Attributes | This example shows how to use the column-separating features of a FlowDocument. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: