Class TelerikTooltip
The class for the Tooltip component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikTooltip : BaseComponent, IDisposable
Constructors
TelerikTooltip()
Declaration
public TelerikTooltip()
Properties
Height
Specifies the height of the Tooltip.
Declaration
public string Height { get; set; }
Property Value
System.String
|
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.
Declaration
public string Id { get; set; }
Property Value
System.String
|
Position
Specifies the position of the Tooltip in relation to its target.
Declaration
public TooltipPosition Position { get; set; }
Property Value
TooltipPosition
|
ShowOn
Specifies the event which will trigger the Tooltip to be shown.
Declaration
public TooltipShowEvent ShowOn { get; set; }
Property Value
TooltipShowEvent
|
TargetSelector
Specifies the selector for the target elements of the tooltip. Uses CSS-type selectors.
Declaration
public string TargetSelector { get; set; }
Property Value
System.String
|
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
public RenderFragment<TooltipTemplateContext> Template { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<TooltipTemplateContext>
|
Width
Specifies the width of the Tooltip.
Declaration
public string Width { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
System.Threading.Tasks.Task
|
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|