menu

WinForms

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

    Show / Hide Table of Contents

    Class GridRowEventArgs

    Provides event data for the RowEnter, RowEditing, RowLeave and RowSaved event.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    GridRowEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridRowEventArgs : SyncfusionCancelEventArgs

    Constructors

    GridRowEventArgs(Int32)

    Initializes a new GridRowEventArgs object.

    Declaration
    public GridRowEventArgs(int rowIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    GridRowEventArgs(Int32, Boolean)

    Initializes a new GridRowEventArgs object.

    Declaration
    public GridRowEventArgs(int rowIndex, bool isAddNew)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index.

    System.Boolean isAddNew

    Indicates if AddNew was called for RowEditing and RowSaved events.

    Properties

    IsAddNew

    Gets or sets a value indicating whether AddNew was called for RowEditing and RowSaved events.

    Declaration
    [TraceProperty(true)]
    public bool IsAddNew { get; set; }
    Property Value
    Type
    System.Boolean

    RowIndex

    Gets or sets the row index.

    Declaration
    [TraceProperty(true)]
    public int RowIndex { get; set; }
    Property Value
    Type
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved