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
Defines the height of the Component as a CSS value.
Declaration
public string Height { get; set; }
Property Value
System.String
|
HideDelay
The delay before the closing of the Tooltip in milliseconds.
Declaration
public int HideDelay { get; set; }
Property Value
System.Int32
|
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
Defines the placement of the Tooltip in relation to its target. Supports Top, Bottom, Left and Right position.
Declaration
public TooltipPosition Position { get; set; }
Property Value
TooltipPosition
|
ShowDelay
The delay before the opening of the Tooltip in milliseconds.
Declaration
public int ShowDelay { get; set; }
Property Value
System.Int32
|
ShowOn
Defines the event which will trigger the Tooltip to show. The possible events are Click and Hover. The default value is Hover.
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
Defines the width of the Component as a CSS value.
The default value is "auto"
.
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
|