• 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 Template in ASP.NET Core Tooltip Control

This sample demonstrates the template functionalities of the Tooltip which will open by hover or touch-hold action on Toolbar option.

DEMO
SOURCE

This sample illustrates the way to display the template content on the tooltip. With the usage of template, the user can format and structure the HTML content to be displayed on the tooltip as per their application needs.

In this sample, the tooltip is integrated with toolbar component to display the respective icon’s information. Here, the HTML template design is compiled and then the resultant output display is directly assigned to the contentproperty of the tooltip. The template compilation process needs to be done on the beforeRender event of the tooltip.

More information about setting template content on the Tooltip can be found in the documentation section.