New to Telerik UI for Blazor? Download free 30-day trial

Tooltip Show Event

You can control what user interaction with the Tooltip target shows the tooltip through the ShowOn parameter.

It takes a member of the Telerik.Blazor.TooltipShowEvent enum:

  • Hover - the default value
  • Click

By default, the tooltip shows on hover (mouseover) of its target, just like the browser tooltips that the Tooltip component replaces.

Explore the show events of the tooltip

@* Setting a show event is not mandatory, it defaults to Hover *@

<TelerikTooltip TargetSelector="#hoverTarget" ShowOn="@TooltipShowEvent.Hover">

<div id="hoverTarget" title="lorem ipsum">
    <strong>Hover</strong> me to see the tooltip.

<TelerikTooltip TargetSelector="#clickTarget" ShowOn="@TooltipShowEvent.Click">

<div id="clickTarget" title="dolor sit amet">
    <strong>Click</strong> me to see the tooltip.
    Then click somewhere to hide the tooltip.

@code {
    TooltipShowEvent showEvent { get; set; } = TooltipShowEvent.Hover;

    #hoverTarget {
        position: absolute;
        top: 200px;
        left: 200px;
        width: 200px;
        background: yellow;

    #clickTarget {
        position: absolute;
        top: 200px;
        left: 500px;
        width: 200px;
        background: green;


Changing the ShowEvent dynamically at runtime is not supported at this stage.

See Also

In this article
Not finding the help you need? Improve this article