Class | Description | |
---|---|---|
Br |
Represents a line break, default height of the element is 0 pt, but it can be changed using Height property.
Always appears as block element.
| |
ContentReference |
Represents a reference to a content element or a content container that contains other elements.
A special content element that can be used to put repeating content.
Referenced objects can be of type: FlowContent, FixedContent, Image.
| |
FlowContent |
Represents a partial content resource object used for repeating pre-generated content placement.
Such objects can be put on page using ContentReference element.
| |
Grid | The grid element, can be used to group other elements in rows and columns. It's a container for GridRow elements which can be used to define grid rows. Grid control has special properties which can be set via matching Style or directly: InnerBorder for inner border definition (in addition to Border) and also InnerBorderColor. Appears as block element by default. Every document has default style set for Grid element that uses single line InnerBorder and Black as default value for InnerBorderColor. | |
GridRow | Represents a grid row, a subcontainer element that is being used in Grid element to group cells together. It can only be added into Grid element and its styling is limited (only properties which can be inherited from plus background color value affect the appearance of the grid cells). Links created using [!:CrossReference] or [!:LinkUri] and pointing to/from GridRow elements are also not supported. This behavior can be easily workarounded by adding a link to inner elements. Each element added to grid row is being treated as a separate cell, so if you need multiple elements to be placed inside the singe cell you may use a Section to group them together. If you need the cell to be spanned vertically or horizontally you may use RowSpan or ColSpan properties respectively. | |
Hr |
Horizontal line, useful for visual formatting. Always appears as block element.
Default thickness is 1pt. but it can be changed by using Height property.
| |
Image |
Represents image object.
Appears as inline element by default, but takes into account its [!:Image.Width] and [!:Image.Height]
properties despite the fact that such behaviour is being normally accepted by block or inline-block elements only.
If image width or height is set to Auto or null it will be assumed to be equal to original value in pixels.
| |
PageBreak |
A page break element, controls pagination behaviour.
Works on a page-level, has no effect being added to container other than FlowDocument.
If the page has available space then current page will be finished and generation will continue on next page, otherwise blank page will be added right after and generation will continue staring from new page created thereafter.
| |
PageCount |
Represents a page count element that shows number of pages generated by the FlowDocument while saving.
| |
Section |
Represents a container for grouping other elements together. Can be styled and put in other containers and also can be used to create ordered and unordered lists by setting its [!:Section.ListStyle] property via matching style or directly.
Appears as block element by default.
| |
TextBlock |
Represents a simple text block that holds textual content.
Appears as inline element by default.
|
Delegate | Description | |
---|---|---|
ContentGenerationDelegateT, V |
Represents a content generation delegate which can be used for TextBlock creation.
|