HtmlForgeX

API Reference

Class

TablerFileIcons

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers static

Convenience helpers for mapping file names/extensions to Tabler file-type icons.

Inheritance

  • Object
  • TablerFileIcons

Methods

public static TablerIconType ForFileName(String fileName, TablerIconType fallback = File) #
Returns: TablerIconType

Returns a Tabler icon appropriate for the file extension.

Parameters

fileName System.String requiredposition: 0
fallback HtmlForgeX.TablerIconType = File optionalposition: 1