Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenTocItem

    Represents a table of contents item.

    Inheritance
    System.Object
    RadzenTocItem
    Implements
    IAsyncDisposable
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenTocItem : ComponentBase, IAsyncDisposable

    Properties

    ChildContent

    Gets or sets the child content.

    Declaration
    public RenderFragment? ChildContent { get; set; }
    Property Value
    Type Description
    System.Nullable<RenderFragment>

    Selector

    Gets or sets the CSS selector of the element to scroll to.

    Declaration
    public string? Selector { get; set; }
    Property Value
    Type Description
    System.Nullable<System.String>

    Template

    Gets or sets the custom content of the item.

    Declaration
    public RenderFragment? Template { get; set; }
    Property Value
    Type Description
    System.Nullable<RenderFragment>

    Text

    Gets or sets the text displayed in the table of contents.

    Declaration
    public string? Text { get; set; }
    Property Value
    Type Description
    System.Nullable<System.String>

    Methods

    DisposeAsync()

    Declaration
    public async ValueTask DisposeAsync()
    Returns
    Type Description
    ValueTask

    OnInitializedAsync()

    Declaration
    protected override async Task OnInitializedAsync()
    Returns
    Type Description
    Task

    Implements

    IAsyncDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT