Enum TooltipShowOn
Defines when tooltips should be displayed on the Slider component.
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum TooltipShowOn
Remarks
The TooltipShowOn enum controls the trigger conditions for showing tooltips. Different display modes provide varying levels of user interaction and accessibility support. The choice affects both user experience and performance, especially in touch-enabled environments.
Examples
<SfSlider TValue="int" Value="50">
<SliderTooltip IsVisible="true" ShowOn="TooltipShowOn.Hover" Format="C2">
</SliderTooltip>
</SfSlider>
Fields
| Name | Description |
|---|---|
| Always | Keeps the tooltip continuously visible at all times. |
| Auto | Displays the tooltip automatically on both focus and click interactions. |
| Focus | Displays the tooltip only when the slider handle receives focus. |
| Hover | Displays the tooltip when hovering over the slider handle. |