menu

WinForms

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

    Show / Hide Table of Contents

    Class RowValidatingEventArgs

    Represents the class that provides the information for the RowValidating event.

    Inheritance
    System.Object
    System.EventArgs
    GridEventArgs
    RowValidatingEventArgs
    Inherited Members
    GridEventArgs.OriginalSender
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.WinForms.DataGrid.Events
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class RowValidatingEventArgs : GridEventArgs

    Constructors

    RowValidatingEventArgs(Boolean, DataRowBase, String, Object)

    Initializes a new instance of the RowValidatingEventArgs class.

    Declaration
    public RowValidatingEventArgs(bool isValid, DataRowBase dataRow, string errorMessage, object originalSender)
    Parameters
    Type Name Description
    System.Boolean isValid

    The value that specifies whether the row is valid or not.

    DataRowBase dataRow

    The data associated with the row.

    System.String errorMessage

    The error message of the row if not valid.

    System.Object originalSender

    The original sender of the event.

    Properties

    DataRow

    Gets the data object associated with the row.

    Declaration
    public DataRowBase DataRow { get; }
    Property Value
    Type
    DataRowBase

    ErrorMessage

    Gets or sets the error message of the row.

    Declaration
    public string ErrorMessage { get; set; }
    Property Value
    Type
    System.String

    IsValid

    Gets or sets a value indicating whether the row is valid or not.

    Declaration
    public bool IsValid { get; set; }
    Property Value
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved