menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCurrentCellMoveFailedEventArgs - API Reference

    Show / Hide Table of Contents

    Class GridCurrentCellMoveFailedEventArgs

    Provides data about the CurrentCellMoveFailed event when the current cell fails to be moved to a new position.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    GridCurrentCellMoveFailedEventArgs
    Inherited Members
    SyncfusionEventArgs.ToString()
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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 Description
    GridSetCurrentCellOptions

    RowIndex

    Gets or sets the row index.

    Declaration
    [TraceProperty(true)]
    public int RowIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    See Also

    CurrentCellMoveFailed
    MoveTo(Int32, Int32, GridSetCurrentCellOptions, Boolean)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved