Class TelerikIcon
Renders a span with a font icon. You can use the predefined Telerik icons or add your own class.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikIcon : ComponentBase, IIconContainer
Constructors
TelerikIcon()
Declaration
public TelerikIcon()
Properties
Class
The CSS class that will be rendered on the component's element.
Declaration
public string Class { get; set; }
Property Value
System.String
|
Icon
The predefined Telerik Icon rendered in the button.
Declaration
public string Icon { get; set; }
Property Value
System.String
|
IconClass
A custom CSS class for the icon element.
Declaration
public string IconClass { get; set; }
Property Value
System.String
|
ImageUrl
The URL of an image inside the button. Takes precedence over other parameters.
Declaration
public string ImageUrl { get; set; }
Property Value
System.String
|
SpriteClass
The CSS class to define an image from a sprite.
Declaration
public string SpriteClass { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|