alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class DataGridRowValidatingEventArgs

    Provides data for the RowValidating event.

    Inheritance
    object
    EventArgs
    DataGridRowValidatingEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public class DataGridRowValidatingEventArgs : EventArgs

    Constructors

    DataGridRowValidatingEventArgs(object, int, Dictionary<string, string>)

    Initializes a new instance of DataGridRowValidatingEventArgs class.

    Declaration
    public DataGridRowValidatingEventArgs(object rowData, int rowIndex, Dictionary<string, string> errorMessages)
    Parameters
    Type Name Description
    object rowData

    The underlying data for the row.

    int rowIndex

    The row index.

    Dictionary<string, string> errorMessages

    The dictionary to store error messages.

    Properties

    ErrorMessages

    Gets or sets the error messages for the columns in particular row.

    Declaration
    public Dictionary<string, string>? ErrorMessages { get; }
    Property Value
    Type Description
    Dictionary<string, string>

    Returns the error messages for the columns in particular row.

    Remarks

    Add key value pair where key is mapping name of the column and the value is error message.

    IsValid

    Gets or sets a value that indicates whether the validation for the current row is successful or not.

    Declaration
    public bool IsValid { get; set; }
    Property Value
    Type Description
    bool

    Returns true if the validation is successful; otherwise, false.

    RowData

    Gets or sets the underlying data object for row.

    Declaration
    public object? RowData { get; }
    Property Value
    Type Description
    object

    Returns the underlying data object for row.

    RowIndex

    Gets or sets the row index.

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

    Returns the row index.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved