This documentation is archived and is not being maintained.
FlowDocument::ColumnRuleWidth Property
Visual Studio 2010
Gets or sets the column rule width.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
[LocalizabilityAttribute(LocalizationCategory::None, Readability = Readability::Unreadable)] [TypeConverterAttribute(typeof(LengthConverter))] public: property double ColumnRuleWidth { double get (); void set (double value); }
<object ColumnRuleWidth="double"/> - or - <object ColumnRuleWidth="qualifiedDouble"/>
XAML Values
Property Value
Type: System::DoubleThe column rule width, in device independent pixels. The default is 0.0.
The column rule is a line that is drawn between columns, and is used to visually separate columns of content.
This property has no effect if the ColumnRuleBrush property is nullptr.
Column rules are only displayed when there are two or more columns. The column rule width is constrained to be less than or equal to the ColumnGap.
The following example shows how to set the ColumnRuleWidth 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: