mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
* 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
21 lines
1.5 KiB
Markdown
21 lines
1.5 KiB
Markdown
---
|
|
title: "How to: Use FlowDocument Column-Separating Attributes"
|
|
ms.date: "03/30/2017"
|
|
helpviewer_keywords:
|
|
- "FlowDocument column-separating attributes"
|
|
- "column-separating attributes"
|
|
- "documents [WPF], FlowDocument column-separating attributes"
|
|
ms.assetid: 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-xaml[FlowDocumentSnippets#_FlowDocumentColumnStuffXAML](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocumentSnippets/CSharp/Window1.xaml#_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>.
|
|
|
|

|