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