Class TelerikRootComponent
The base class for the TelerikRootComponent that needs to be at the root of the main layout of the application.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikRootComponent : ComponentBase, IDisposable
Constructors
TelerikRootComponent()
Declaration
public TelerikRootComponent()
Properties
ChildContent
Everything else in the application. The TelerikRootComponent must be at the root of the main layout of the application.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.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
public bool EnableRtl { get; set; }
Property Value
System.Boolean
|
IconType
Specifies the icon type used across the application. Default value is Svg.
Declaration
public IconType IconType { get; set; }
Property Value
IconType
|
Localizer
Specifies a localizer. Can be used with lazy-loading of assemblies in wasm.
Declaration
public ITelerikStringLocalizer Localizer { get; set; }
Property Value
ITelerikStringLocalizer
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
Declaration
public virtual void Dispose()
StateHasChanged()
Declaration
protected virtual void StateHasChanged()