Displays validation errors in a tooltip next to the target input element(s). Target elements are matched via TargetSelector (CSS selector), and tooltip placement is controlled by Position. Binds to a field through the inherited For.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TValue
Syntax:
C#
public class TelerikValidationTooltip<TValue> : ValidationMessageBase<TValue>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentValidationBaseValidationMessageBase<TValue>TelerikValidationTooltip<TValue>...
Implements:
Inherited Members
Constructors
C#
public TelerikValidationTooltip()
Methods
C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
C#
protected override void OnParametersSet()
Overrides:
Properties
Specifies the position of the Validation Tooltip in relation to its target.
C#
[Parameter]
public TooltipPosition Position { get; set; }
Specifies the selector for the target elements of the Validation Tooltip. Uses CSS-type selectors.
C#
[Parameter]
public string TargetSelector { get; set; }