Represents a table of contents item.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponentWithChildren.ChildContent
RadzenComponent.SetParametersAsync
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenTocItem : RadzenComponentWithChildren, IComponent, IHandleEvent, IHandleAfterRenderGets or sets the CSS selector of the element to scroll to.
public string Selector { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the CSS selector of the element to scroll to. |
Gets or sets the custom content of the item.
public RenderFragment Template { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the custom content of the item. |
Gets or sets the text displayed in the table of contents.
public string Text { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the text displayed in the table of contents. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override string GetComponentCssClass()
| Type | Description |
|---|---|
| string |
protected override Task OnInitializedAsync()
| Type | Description |
|---|---|
| Task |