Blazorise Tooltip API
Explore the Blazorise Tooltip API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Tooltip documentation.
API
Parameters
| Parameter | Default | Type |
|---|---|---|
AlwaysActive | false | bool |
Always show tooltip, instead of just when hovering over the element. | ||
Animation | None | TooltipAnimation |
Specifies the visual effect used when the tooltip is shown or hidden. Possible values: NoneFadeScaleFadeScaleShiftFadeShiftBlurFadeBlurAutoEffects can be combined. When supplied, this parameter takes precedence over Fade. Auto is provider-controlled and takes precedence when combined with another effect. When omitted, uses Auto when Fade is true and None otherwise. | ||
AppendTo | — | string |
Gets or sets the element to which the tooltip content was appended. This parameter is retained for source compatibility and has no effect. Tooltip content is rendered in place and positioned using CSS anchor positioning. | ||
ChildContent | null | RenderFragment |
Specifies the target content wrapped by this Tooltip. | ||
Fade | false | bool |
Makes the tooltip fade transition. When Animation is not supplied, setting this parameter uses the provider's preferred tooltip animation. | ||
FadeDuration | 300 | int |
Duration in ms of the tooltip transition animation. | ||
HideDelay | 0 | int? |
Specifies the delay in ms once a trigger event is fired before a Tooltip hides. When omitted, uses BlazoriseOptions.TooltipOptions.HideDelay, falling back to 0 ms. | ||
Inline | false | bool |
Forces the tooltip host to use inline-block layout. When omitted, the CSS provider automatically detects inline layout using its target selectors. Explicitly setting it to false uses block layout and disables automatic detection. | ||
Interactive | false | bool |
Determines if the tooltip has interactive content inside of it, so that it can be hovered over and clicked inside without hiding. | ||
Multiline | false | bool |
Force the multiline display. | ||
Placement | Top | TooltipPlacement |
Specifies the tooltip location relative to its component. Possible values: TopTopStartTopEndBottomBottomStartBottomEndLeftLeftStartLeftEndRightRightStartRightEnd | ||
ShowArrow | true | bool |
Specifies the tooltip arrow visibility. | ||
ShowDelay | 0 | int? |
Specifies the delay in ms once a trigger event is fired before a Tooltip shows. When omitted, uses BlazoriseOptions.TooltipOptions.ShowDelay, falling back to 0 ms. | ||
Text | — | string |
Specifies the tooltip's text or HTML content. This content is ignored when TooltipContent is supplied. | ||
TooltipContent | null | RenderFragment |
Specifies custom content to be rendered inside the tooltip. When supplied, this content takes precedence over Text. | ||
Trigger | MouseEnterFocus | TooltipTrigger |
Determines the events that cause the tooltip to show. Possible values: MouseEnterFocusClickFocusMouseEnterClick | ||
TriggerTargetId | — | string |
Specifies the id of an external element that triggers the tooltip. | ||