API Reference
Class
DetailsBlock
Collapsible disclosure block with an optional summary and nested content.
Inheritance
- MarkdownBlock
- DetailsBlock
Constructors
DetailsBlock 2 overloads
public DetailsBlock(SummaryBlock summary, IEnumerable<IMarkdownBlock> children = null, Boolean open = false) #Creates a details block with a summary and children.
Parameters
- summary OfficeIMO.Markdown.SummaryBlock
- children System.Collections.Generic.IEnumerable{OfficeIMO.Markdown.IMarkdownBlock} = null
- open System.Boolean = false
Inherited Methods
public Void Accept(MarkdownVisitor visitor) #Returns:
VoidInherited from MarkdownObject
Parameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public IEnumerable<MarkdownObject> AncestorsAndSelf() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #Returns:
IEnumerable<TObject>Inherited from MarkdownObject
Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public SummaryBlock Summary { get; set; } #Optional summary displayed in the disclosure header.
public List<IMarkdownBlock> Children { get; } #Nested blocks rendered inside the details body.
public IReadOnlyList<IMarkdownBlock> ChildBlocks { get; } #Read-only AST-style view of parsed child blocks inside the details body.
SyntaxChildren #Nested syntax nodes captured during parsing, when available.
public Boolean InsertBlankLineAfterSummary { get; set; } #Whether to emit a blank line between the summary and the first child block.
public Boolean InsertBlankLineBeforeClosing { get; set; } #Whether to emit a blank line before the closing tag.
public Boolean Open { get; set; } #Whether the details element is initially expanded.
Inherited Properties
public MarkdownObject Parent { get; } #Inherited from MarkdownObject
public MarkdownDoc Document { get; } #Inherited from MarkdownObject
public MarkdownObject Root { get; } #Inherited from MarkdownObject
public Nullable<Int32> IndexInParent { get; } #Inherited from MarkdownObject
public MarkdownObject PreviousSibling { get; } #Inherited from MarkdownObject
public MarkdownObject NextSibling { get; } #Inherited from MarkdownObject
public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #Inherited from MarkdownObject
public IReadOnlyList<MarkdownObject> ChildObjects { get; } #Inherited from MarkdownObject