API Reference

Class

DetailsBlock

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Implements
IMarkdownBlock IChildMarkdownBlockContainer ISyntaxChildrenMarkdownBlock IOwnedSyntaxChildrenMarkdownBlock ISyntaxMarkdownBlock
Modifiers sealed

Collapsible disclosure block with an optional summary and nested content.

Inheritance

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

Constructors

DetailsBlock 2 overloads
public DetailsBlock() #

Creates an empty details block.

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 requiredposition: 0
children System.Collections.Generic.IEnumerable{OfficeIMO.Markdown.IMarkdownBlock} = null optionalposition: 1
open System.Boolean = false optionalposition: 2

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.