Table of Contents

Class CustomIconDefinition

Namespace
Dmnk.Icons.Blazor
Assembly
Dmnk.Icons.Blazor.dll

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

technicalName string

Methods

ToMarkup()

Return a MarkupString that represents this icon to render in the DOM.

public abstract MarkupString ToMarkup()

Returns

MarkupString