menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ValidatorTemplateContext - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved