Class ListItem
An item of a ListElement; contains paragraphs, nested lists, tables, images.
public sealed class ListItem
- Inheritance
-
ListItem
- Inherited Members
Properties
Content
The block elements of the item in the order they were added.
public IReadOnlyList<LayoutElement> Content { get; }
Property Value
Label
Overrides the generated label (e.g. "★" or "§ 3").
public string? Label { get; set; }
Property Value
Methods
Add(LayoutElement)
Adds a block element to the item; returns the item.
public ListItem Add(LayoutElement element)
Parameters
elementLayoutElement