API Reference
DetailsBlock
Collapsible disclosure block with an optional summary and nested content.
Inheritance
- MarkdownBlock
- DetailsBlock
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property MarkdownNativeDetailsBlock.Details
Constructors
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) #VoidParameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #IEnumerable<MarkdownObject>public IEnumerable<MarkdownObject> AncestorsAndSelf() #IEnumerable<MarkdownObject>public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #IEnumerable<TObject>Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #IEnumerable<MarkdownObject>public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public SummaryBlock Summary { get; set; } #Optional summary displayed in the disclosure header.
public List<IMarkdownBlock> ChildBlocks { get; } #Nested blocks rendered 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.
public String OpeningTag { get; set; } #Exact source opening tag for parsed details blocks, when available.
public String ClosingTag { get; set; } #Exact source closing tag for parsed details blocks, when available.
public Nullable<MarkdownSourceSpan> OpeningTagSourceSpan { get; set; } #Source span for the parsed details opening tag, when available.
public Nullable<MarkdownSourceSpan> ClosingTagSourceSpan { get; set; } #Source span for the parsed details closing tag, when available.
Inherited Properties
public MarkdownObject Parent { get; } #public MarkdownDoc Document { get; } #public MarkdownObject Root { get; } #public Nullable<Int32> IndexInParent { get; } #public MarkdownObject PreviousSibling { get; } #public MarkdownObject NextSibling { get; } #public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #public MarkdownAttributeSet Attributes { get; } #public IReadOnlyList<MarkdownObject> ChildObjects { get; } #