menu

WPF

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

    Show / Hide Table of Contents

    Class RowValidatedEventArgs

    Provides data for the RowValidated event.

    Inheritance
    System.Object
    System.EventArgs
    GridEventArgs
    RowValidatedEventArgs
    TreeGridRowValidatedEventArgs
    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.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class RowValidatedEventArgs : GridEventArgs

    Constructors

    RowValidatedEventArgs(Object, Int32, Dictionary<String, String>, Object)

    Initializes a new instance of RowValidatedEventArgs class.

    Declaration
    public RowValidatedEventArgs(object rowData, int rowIndex, Dictionary<string, string> errorMessages, object originalSource)
    Parameters
    Type Name Description
    System.Object rowData

    Gets the data object that associated with the row which triggers this event.

    System.Int32 rowIndex

    The index of the row .

    System.Collections.Generic.Dictionary<System.String, System.String> errorMessages

    Contains the error message to notify the validation error.

    System.Object originalSource

    The source of the event.

    Properties

    ErrorMessages

    Gets or sets the error message that is used to display the error information in-case of invalid data when mouse over on GridCell of particular column.

    Declaration
    public Dictionary<string, string> ErrorMessages { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String>

    The dictionary that holds the column name as its key and the error message as its value to notify the error in data.

    RowData

    Gets the data object associated with row triggered this event.

    Declaration
    public object RowData { get; }
    Property Value
    Type Description
    System.Object

    The data item of corresponding row associated with the event.

    RowIndex

    Gets or sets the RowIndex of DataRow which triggers this event.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type Description
    System.Int32

    The index of the row which triggered this event.

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