Class Div
A neutral block of inline content that participates in document flow without adding paragraph spacing.
public sealed class Div : Block
- Inheritance
-
Div
- Inherited Members
Remarks
Use Div for labels, terms, compact headings, and other inline-flow content that should not carry the prose spacing implied by Paragraph.
Constructors
Div(Inline)
Creates a neutral block of inline content.
public Div(Inline contents)
Parameters
contentsInlineThe block contents.
Div(params Inline[])
Creates a neutral block from a parameter list of inline nodes.
public Div(params Inline[] contents)
Parameters
contentsInline[]The block contents.
Properties
Contents
Gets the inline contents of this neutral block.
public Inline Contents { get; }