Class TelerikSvgIcon
The class for the Telerik SVG Icon component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikSvgIcon : IconBase, IDisposable
Constructors
TelerikSvgIcon()
Declaration
public TelerikSvgIcon()
Properties
ChildContent
Defines the child content of the component. Use to render custom svg markup.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Icon
Specifies a predefined Telerik icon to be rendered. Takes precedence over custom icons defined within ChildContent. Refer to SvgIcon Documentation for more information.
Declaration
public ISvgIcon Icon { get; set; }
Property Value
Telerik.SvgIcons.ISvgIcon
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnParametersSet()
Declaration
protected override void OnParametersSet()
ThrowIfNoIconIsProvided()
Declaration
public void ThrowIfNoIconIsProvided()