ClassTelerikTooltip
The class for the Tooltip component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikTooltip : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikTooltip
Implements:
Inherited Members
Constructors
TelerikTooltip()
Declaration
public TelerikTooltip()
Properties
Height
Defines the height of the Component as a CSS value.
HideDelay
The delay before the closing of the Tooltip in milliseconds.
Id
Specifies id attribute of the Tooltip element. Can be useful so you can point an aria-described-by attribute of your target to the tooltip ID for the benefit of screen readers.
Position
Defines the placement of the Tooltip in relation to its target. Supports Top, Bottom, Left and Right position.
Declaration
[Parameter]
public TooltipPosition Position { get; set; }
Property Value
ShowDelay
The delay before the opening of the Tooltip in milliseconds.
ShowOn
Defines the event which will trigger the Tooltip to show. The possible events are Click and Hover. The default value is Hover.
Declaration
[Parameter]
public TooltipShowEvent ShowOn { get; set; }
Property Value
TargetSelector
Specifies the selector for the target elements of the tooltip. Uses CSS-type selectors.
Declaration
[Parameter]
public string TargetSelector { get; set; }
Property Value
Template
Specifies the template for the content of the tooltip. The @context of the template contains all data attribute of the target element, lowercase, and the title attribute of the target.
Declaration
[Parameter]
public RenderFragment<TooltipTemplateContext> Template { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides