Icon Class

Blazor Bootstrap icon component will display an icon from any icon font.
Use the parameter Name to specify the Bootstrap icon name. The values from IconName are derived from the official Bootstrap icons set.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public sealed class Icon : ComponentBase
Inheritance
Object    ComponentBase    Icon

Constructors

IconInitializes a new instance of the Icon class

Properties

Color Gets or sets the icon color.
Name Gets or sets the icon name.
Size Gets or sets the icon size.

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also