CS4 webControl25

CS4 webControl25

Icon25

Icon25 is a utility control that simplifies rendering Font Awesome icons in ASP.NET applications. It provides a centralized icon catalog with predefined sizes, colors, tooltips, and semantic usage for actions, alerts, buttons, and applications.

Key Features

  • Centralized icon management
  • Predefined icon collections for common UI actions
  • Multiple icon sizes with consistent scaling
  • Tooltip support for accessibility
  • Font Awesome–based rendering

Icon Sizes

IconSize controls the rendered icon size in pixels.

  • S1 – 16px
  • S2 – 24px
  • S3 – 32px
  • S4 – 64px
  • S5 – 128px
  • S6 – 256px
  • S7 – 512px

Core Methods

GetIcon

Returns a predefined icon from IconCollection with the specified size and optional tooltip.


 Icon = Icon25.IconCollection.TooltipDefault,

GetAwesoneIcon

Renders a custom Font Awesome icon by directly passing the icon class name.


MenuIcon = "fas fa-map-marked-alt",