ListBlock Class
- Inheritance
ContainerBlockListBlock
Constructors
| Name | Description |
|---|---|
| ListBlock(BlockParser) | Initializes a new instance of the ListBlock class. |
ListBlock(BlockParser)
ListBlock.csInitializes a new instance of the ListBlock class.
public ListBlock(BlockParser parser)Parameters
parserBlockParser- The parser used to create this block.
Properties
| Name | Description |
|---|---|
| BulletType | Gets or sets the bullet character used by this list. |
| DefaultOrderedStart | Gets or sets the default ordered start ("1" for BulletType = '1') |
| IsLoose | Gets or sets a value indicating whether this instance is loose. |
| IsOrdered | Gets or sets a value indicating whether the list is ordered. |
| OrderedDelimiter | Gets or sets the ordered delimiter character (usually `.` or `)`) found after an ordered list item. |
| OrderedStart | Gets or sets the ordered start number (valid when ListBlock.IsOrdered is true) |
BulletType
ListBlock.csDefaultOrderedStart
ListBlock.csIsLoose
ListBlock.csIsOrdered
ListBlock.csOrderedDelimiter
ListBlock.csOrderedStart
ListBlock.csGets or sets the ordered start number (valid when ListBlock.IsOrdered is true)
public string? OrderedStart { get; set; }