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
40 lines
1.4 KiB
Markdown
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)]
|