Class Sealed
public sealed class TabItemBlock : ContainerBlock

Namespace: Moka.Docs.Parsing.Markdown

Represents a single tab within a tab group.

Inheritance

Inherits from: ContainerBlock

Constructors

NameDescription
TabItemBlock(BlockParser parser) Creates a new tab item block.

TabItemBlock(BlockParser parser)

TabItemBlock.TabItemBlock(BlockParser parser)

Creates a new tab item block.

Properties

NameDescription
IsFirst Whether this is the first (default active) tab.
Title The tab title.

IsFirst

bool TabItemBlock.IsFirst { get; set; }

Whether this is the first (default active) tab.

Title

string TabItemBlock.Title { get; set; }

The tab title.

Type Relationships
classDiagram
                    style TabItemBlock fill:#f9f,stroke:#333,stroke-width:2px
                    TabItemBlock --|> ContainerBlock : inherits
                
View Source
/// <summary>
///     Represents a single tab within a tab group.
/// </summary>
public sealed class TabItemBlock : ContainerBlock
{
    /// <summary>Creates a new tab item block.</summary>
    public TabItemBlock(BlockParser parser) : base(parser)
    {
    }

    /// <summary>The tab title.</summary>
    public string Title { get; set; } = "";
    /// <summary>Whether this is the first (default active) tab.</summary>
    public bool IsFirst { get; set; }
}
Was this page helpful?