MarkdownCheckListItem
Namespace: Markdown
Markdown check list item.
public class MarkdownCheckListItem : MarkdownTextListItem, IMarkdownListItem
Inheritance Object → MarkdownTextElement → MarkdownTextListItem → MarkdownCheckListItem
Implements IMarkdownListItem
Properties
Checked
Gets or sets the item state.
public bool Checked { get; set; }
Property Value
Boolean
true if the item is checked; otherwise, false. The default is false.
Text
Gets or sets the text.
public string Text { get; set; }
Property Value
String
The text or a string that represents the markdown inline element.
Constructors
MarkdownCheckListItem(Boolean, String)
Initializes a new instance of the MarkdownCheckListItem class.
public MarkdownCheckListItem(bool checked, string text)
Parameters
checked
Boolean
The item state.
text
String
The item text.
MarkdownCheckListItem(Boolean, MarkdownInlineElement)
Initializes a new instance of the MarkdownCheckListItem class.
public MarkdownCheckListItem(bool checked, MarkdownInlineElement element)
Parameters
checked
Boolean
The item state.
element
MarkdownInlineElement
The item text as markdown inline element.
Methods
ToString()
Returns a string that represents the current markdown check list item. The check list item text is trimed.
public string ToString()
Returns
String
A string that represents the current markdown check list item.