Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/how-to-use-flowdocument-column-separating-attributes.md
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1.5 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
How to: Use FlowDocument Column-Separating Attributes 03/30/2017
FlowDocument column-separating attributes
column-separating attributes
documents [WPF], FlowDocument column-separating attributes
c7a822f8-aeca-45bd-a258-2852ff28005c

How to: Use FlowDocument Column-Separating Attributes

This example shows how to use the column-separating features of a xref:System.Windows.Documents.FlowDocument.

Example

The following example defines a xref:System.Windows.Documents.FlowDocument, and sets the xref:System.Windows.Documents.FlowDocument.ColumnGap%2A, xref:System.Windows.Documents.FlowDocument.ColumnRuleBrush%2A, and xref:System.Windows.Documents.FlowDocument.ColumnRuleWidth%2A attributes. The xref:System.Windows.Documents.FlowDocument contains a single paragraph of sample content.

[!code-xamlFlowDocumentSnippets#_FlowDocumentColumnStuffXAML]

The following figure shows the effects of the xref:System.Windows.Documents.FlowDocument.ColumnGap%2A, xref:System.Windows.Documents.FlowDocument.ColumnRuleBrush%2A, and xref:System.Windows.Documents.FlowDocument.ColumnRuleWidth%2A attributes in a rendered xref:System.Windows.Documents.FlowDocument.

Screenshot that shows the FlowDocument Intra Column attribute.