New to Telerik UI for BlazorStart a free 30-day trial

A required root-level component that provides app-wide services and settings for Telerik UI for Blazor. Hosts ChildContent; configures localization via Localizer, icon system through IconType, and RTL with EnableRtl. Manages adaptive breakpoints (small/medium/large) and raises changes internally, maintains z-index stacking for overlay components, and tracks initialized component instances. Supports fragment rendering (dialogs/overlays) and exposes root-level settings through RootComponentSettings.

Definition

Constructors

C#
public TelerikRootComponent()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
public virtual void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void StateHasChanged()

Properties

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

C#
[Parameter]
public RenderFragment ChildContent { get; set; }

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.

C#
[Parameter]
public bool EnableRtl { get; set; }

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

C#
[Parameter]
public IconType IconType { get; set; }

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

C#
[Parameter]
public ITelerikStringLocalizer Localizer { get; set; }
C#
[Parameter]
public RenderFragment RootComponentSettings { get; set; }