Class
ValidationMessageBase<TValue>

Definition

Namespace:Telerik.Blazor.Components.Validation

Assembly:Telerik.Blazor.dll

Type Parameters:

TValue

Syntax:

cs-api-definition
public class ValidationMessageBase<TValue> : ValidationBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentValidationBaseValidationMessageBase<TValue>

Derived Classes: TelerikValidationMessage<TValue>TelerikValidationTooltip<TValue>

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ValidationBase.ValidationStateChanged(object, ValidationStateChangedEventArgs)ValidationBase.Dispose()ValidationBase.CascadedEditContextValidationBase.TemplateValidationBase.ValidationMessagesBaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)

Constructors

ValidationMessageBase()

Declaration

cs-api-definition
public ValidationMessageBase()

Properties

For

Specifies expression of the field for which validation messages should be displayed.

Declaration

cs-api-definition
[Parameter]
public Expression<Func<TValue>> For { get; set; }

Property Value

Expression<Func<TValue>>

InternalFieldIdentifier

Declaration

cs-api-definition
protected FieldIdentifier InternalFieldIdentifier { get; set; }

Property Value

FieldIdentifier

Methods

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ValidationBase.OnParametersSet()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)