Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenTocItem

    Represents a table of contents item.

    Inheritance
    object
    ComponentBase
    RadzenTocItem
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IAsyncDisposable
    Inherited Members
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.SetParametersAsync(ParameterView)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenTocItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IAsyncDisposable

    Constructors

    RadzenTocItem()

    Represents a table of contents item.

    Declaration
    public RadzenTocItem()

    Properties

    ChildContent

    Gets or sets the child content.

    Declaration
    [Parameter]
    public RenderFragment? ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    Selector

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

    Declaration
    [Parameter]
    public string? Selector { get; set; }
    Property Value
    Type Description
    string

    Template

    Gets or sets the custom content of the item.

    Declaration
    [Parameter]
    public RenderFragment? Template { get; set; }
    Property Value
    Type Description
    RenderFragment

    Text

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

    Declaration
    [Parameter]
    public string? Text { get; set; }
    Property Value
    Type Description
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Represents a table of contents item.

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    DisposeAsync()

    Represents a table of contents item.

    Declaration
    public ValueTask DisposeAsync()
    Returns
    Type Description
    ValueTask

    OnInitializedAsync()

    Represents a table of contents item.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task
    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    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