Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/how-to-use-flow-content-elements.md
T
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

40 lines
1.4 KiB
Markdown

---
title: "How to: Use Flow Content Elements"
ms.date: "03/30/2017"
helpviewer_keywords:
- "flow content elements [WPF]"
- "documents [WPF], flow content elements"
ms.assetid: 70fa11cd-5fa7-4872-a1cc-04d80f1132be
---
# How to: Use Flow Content Elements
The following example demonstrates declarative usage for various flow content elements and associated attributes. Elements and attributes demonstrated include:
- <xref:System.Windows.Documents.Bold> element
- <xref:System.Windows.Documents.Block.BreakPageBefore%2A> attribute
- <xref:System.Windows.Documents.TextElement.FontSize%2A> attribute
- <xref:System.Windows.Documents.Italic> element
- <xref:System.Windows.Documents.LineBreak> element
- <xref:System.Windows.Documents.List> element
- <xref:System.Windows.Documents.ListItem> element
- <xref:System.Windows.Documents.Paragraph> element
- <xref:System.Windows.Documents.Run> element
- <xref:System.Windows.Documents.Section> element
- <xref:System.Windows.Documents.Span> element
- <xref:System.Windows.Documents.Typography.Variants%2A> attribute (superscript and subscript)
- <xref:System.Windows.Documents.Underline> element
## Example
[!code-xaml[FlowDocInlineSnippets#_InlineElementsXAML](~/samples/snippets/csharp/VS_Snippets_Wpf/FlowDocInlineSnippets/CS/document.xaml#_inlineelementsxaml)]