Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenToc

    Displays a table of contents for a page.

    Inheritance
    System.Object
    RadzenComponent
    RadzenToc
    Implements
    IDisposable
    IAsyncDisposable
    Inherited Members
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.OnInitialized()
    RadzenComponent.SetParametersAsync(ParameterView)
    RadzenComponent.Reference
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Dispose()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenToc : RadzenComponent, IDisposable, IAsyncDisposable

    Properties

    ChildContent

    Gets or sets the child content.

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

    Orientation

    Gets or sets the orientation of the table of contents.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    Orientation

    Selector

    Gets or sets the CSS selector of the element to monitor for scroll events. By default the entire page is monitored.

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

    Methods

    DisposeAsync()

    Declaration
    public async ValueTask DisposeAsync()
    Returns
    Type Description
    ValueTask

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    System.String
    Overrides
    RadzenComponent.GetComponentCssClass()

    OnAfterRenderAsync(Boolean)

    Called by the Blazor runtime.

    Declaration
    protected override async Task OnAfterRenderAsync(bool firstRender)
    Parameters
    Type Name Description
    System.Boolean firstRender
    Returns
    Type Description
    Task
    Overrides
    RadzenComponent.OnAfterRenderAsync(Boolean)

    ScrollIntoView(String)

    Invoked when the current toc item changes.

    Declaration
    public void ScrollIntoView(string selector)
    Parameters
    Type Name Description
    System.String selector

    Implements

    IDisposable
    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