Table of Contents

Class RadzenIcon

Namespace
Radzen.Blazor
Assembly
Radzen.Blazor.dll

RadzenIcon component. Displays icon from Material Symbols variable font.

public class RadzenIcon : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance
RadzenIcon
Implements
Inherited Members

Examples

<RadzenIcon Icon="3d_rotation" />

Constructors

RadzenIcon()

public RadzenIcon()

Properties

Icon

Gets or sets the icon.

[Parameter]
public string Icon { get; set; }

Property Value

string

The icon.

IconColor

Gets or sets the icon color.

[Parameter]
public string IconColor { get; set; }

Property Value

string

The icon color.

IconStyle

Specifies the display style of the icon.

[Parameter]
public IconStyle? IconStyle { get; set; }

Property Value

IconStyle?

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

GetComponentCssClass()

protected override string GetComponentCssClass()

Returns

string