Class GridCurrentCellMoveFailedEventArgs
Provides data about the CurrentCellMoveFailed event when the current cell fails to be moved to a new position.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridCurrentCellMoveFailedEventArgs : SyncfusionEventArgs
Remarks
GridCurrentCellMoveFailedEventArgs is a custom event argument class used by the CurrentCellMoveFailed event when the current cell fails to be moved to a new position.
See MoveTo(Int32, Int32, GridSetCurrentCellOptions, Boolean) for a discussion about the order of events that you receive when the current cell is moved.
ErrorMessage may hold an error message why the operation failed.
Constructors
GridCurrentCellMoveFailedEventArgs(Int32, Int32, GridSetCurrentCellOptions)
Initializes the new instances for the GridCurrentCellMoveFailedEventArgs class.
Declaration
public GridCurrentCellMoveFailedEventArgs(int rowIndex, int colIndex, GridSetCurrentCellOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
GridSetCurrentCellOptions | options | The options specified for the MoveTo(Int32, Int32, GridSetCurrentCellOptions, Boolean) operation. |
Properties
ColIndex
Gets or sets the column index.
Declaration
[TraceProperty(true)]
public int ColIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Options
Gets or sets the options specified for the MoveTo(Int32, Int32, GridSetCurrentCellOptions, Boolean) operation.
Declaration
[TraceProperty(true)]
public GridSetCurrentCellOptions Options { get; set; }
Property Value
Type |
---|
GridSetCurrentCellOptions |
RowIndex
Gets or sets the row index.
Declaration
[TraceProperty(true)]
public int RowIndex { get; set; }
Property Value
Type |
---|
System.Int32 |