Class CustomIconDefinition
Allows defining a custom blazor-only icon directly as a markup string. This is useful especially for using Icon libraries that were designed for Blazor and don't have a direct SVG representation, but can be rendered as a Blazor component or markup string.
public abstract class CustomIconDefinition : IconDefinition
- Inheritance
-
CustomIconDefinition
- Inherited Members
Constructors
CustomIconDefinition(string)
Allows defining a custom blazor-only icon directly as a markup string. This is useful especially for using Icon libraries that were designed for Blazor and don't have a direct SVG representation, but can be rendered as a Blazor component or markup string.
protected CustomIconDefinition(string technicalName)
Parameters
technicalNamestring
Methods
ToMarkup()
Return a MarkupString that represents this icon to render in the DOM.
public abstract MarkupString ToMarkup()