• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls

Example of Icons in ASP.NET Core Message Control

This sample demonstrates the visibility customization of severity and close icons of the ASP.NET Core Message control. Click the close icon to hide the message. Click the button to restore the hidden message. Check or uncheck the check box to show or hide the visibility of the severity icon. Check or uncheck the check box to show or hide the visibility of the close icon.

DEMO
SOURCE

The Message control can be rendered with and without the severity and close icons. The close icon is used to hide the message.

In this sample, the Message control is rendered with a severity icon and a close icon. The visibility of the severity icon is handled by the showIcon property. The visibility of the close icon is handled by the showCloseIcon property.