Class ValidatorTemplateContext
Defines members of validator template context object.
Inheritance
System.Object
ValidatorTemplateContext
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class ValidatorTemplateContext : Object
Constructors
ValidatorTemplateContext()
Declaration
public ValidatorTemplateContext()
Properties
Data
Defines the current edited data.
Declaration
public object Data { get; set; }
Property Value
Type |
---|
System.Object |
EditContext
Holds EditContext instance of the EditForm used by grid.
Declaration
public EditContext EditContext { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.Forms.EditContext |
ShowValidationMessage
Holds delegate instance to show hide validation message on the given editor.
Declaration
public Action<string, bool, string> ShowValidationMessage { get; set; }
Property Value
Type |
---|
System.Action<System.String, System.Boolean, System.String> |
Remarks
Accepts argument such as Field name(string), valid state(bool) and message(string) to show/hide popup validation message on the editor.