ClassTelerikRootComponent
The base class for the TelerikRootComponent that needs to be at the root of the main layout of the application.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikRootComponent : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseTelerikRootComponent
Implements:
Inherited Members
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
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
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.
IconType
Specifies the icon type used across the application. Default value is Svg.
Declaration
[Parameter]
public IconType IconType { get; set; }
Property Value
Localizer
Specifies a localizer. Can be used with lazy-loading of assemblies in wasm.
Declaration
[Parameter]
public ITelerikStringLocalizer Localizer { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public virtual void Dispose()
Implements
StateHasChanged()
Declaration
protected virtual void StateHasChanged()