#247 – Types of Blocks that You Can Use in a FlowDocument
March 16, 2011 1 Comment
There are five different types of blocks that you can include in a FlowDocument. A block can be one of the following:
- Paragraph – A paragraph of text
- List – A list of text items, typically displayed with a bullet character
- Table – A table, with rows and columns
- Section – A section of the document that can, in turn, contain other blocks
- BlockUIContainer – A placeholder that allows inserting any UIElement into the document
We can also add Span – this tag can come inside paragraph and you can change fonts, color etc.