• 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 Variants in ASP.NET Core Message Control

This sample demonstrates the predefined appearance variants for the ASP.NET Core Message control.

DEMO
SOURCE

Filled

Outlined

Text

The Message control can be displayed with predefined appearance variants. The available variants are Text, Outlined and Filled. The default variant type is Text.

  • Text - The severity is differentiated using a text color and a light background color.
  • Outlined - The severity is differentiated using a text color and a border without background.
  • Filled - The severity is differentiated using a text color and a dark background color.

In this sample, messages are displayed with different appearances based on the variant property.

More information about Message variants can be found in this documentation section.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE