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> |
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