Class GridRowEventArgs
Provides event data for the RowEnter, RowEditing, RowLeave and RowSaved event.
Inherited Members
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 |