Class
TelerikRootComponent

The base class for the TelerikRootComponent that needs to be at the root of the main layout of the application.

Definition

Constructors

TelerikRootComponent()

Declaration

cs-api-definition
public TelerikRootComponent()

Properties

ChildContent

Everything else in the application. The TelerikRootComponent must be at the root of the main layout of the application.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

EnableRtl

Specifies Whether RTL direction is enabled or not. Default value is false. This setting applies for Telerik UI for Blazor components only. To set global direction, set the dir attribute to an element wrapping the entire application, such as the body tag.

Declaration

cs-api-definition
[Parameter]
public bool EnableRtl { get; set; }

Property Value

bool

IconType

Specifies the icon type used across the application. Default value is Svg.

Declaration

cs-api-definition
[Parameter]
public IconType IconType { get; set; }

Property Value

IconType

Localizer

Specifies a localizer. Can be used with lazy-loading of assemblies in wasm.

Declaration

cs-api-definition
[Parameter]
public ITelerikStringLocalizer Localizer { get; set; }

Property Value

ITelerikStringLocalizer

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public virtual void Dispose()

Implements IDisposable.Dispose()

StateHasChanged()

Declaration

cs-api-definition
protected virtual void StateHasChanged()