Class
ValidationBase

Definition

Namespace:Telerik.Blazor.Components.Validation

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public abstract class ValidationBase : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentValidationBase

Derived Classes: TelerikValidationSummaryValidationMessageBase<TValue>

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.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)ComponentBase.SetParametersAsync(ParameterView)

Constructors

ValidationBase()

Declaration

cs-api-definition
protected ValidationBase()

Properties

CascadedEditContext

Declaration

cs-api-definition
[CascadingParameter]
public EditContext CascadedEditContext { get; set; }

Property Value

EditContext

Template

Specifies the template for validation messages of the component.

Declaration

cs-api-definition
[Parameter]
public RenderFragment<IEnumerable<string>> Template { get; set; }

Property Value

RenderFragment<IEnumerable<string>>

ValidationMessages

Declaration

cs-api-definition
public IEnumerable<string> ValidationMessages { get; set; }

Property Value

IEnumerable<string>

Methods

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides BaseComponent.Dispose()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

ValidationStateChanged(object, ValidationStateChangedEventArgs)

Declaration

cs-api-definition
protected void ValidationStateChanged(object sender, ValidationStateChangedEventArgs e)

Parameters

sender

object

e

ValidationStateChangedEventArgs