menu

WinForms

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

    Show / Hide Table of Contents

    Class GridOleDropAtRowColEventArgs

    Provides data about the OleDropAtRowCol event.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    SyncfusionHandledEventArgs
    GridOleDropAtRowColEventArgs
    Inherited Members
    SyncfusionEventArgs.ToString()
    SyncfusionHandledEventArgs.Handled
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridOleDropAtRowColEventArgs : SyncfusionHandledEventArgs
    Remarks

    The event occurs when the user releases the mouse over a cell at the end of an OLE drag-and-drop operation and before the data is applied to the grid.

    This event lets you provide your own customized paste data behavior.

    If you do not wish the grid to proceed with default behavior for this method, set Handled to True. The grid will check this flag to see whether it should proceed. If you set it to True, the calling method will check Result as indication if the operation was successful.

    If you want the grid to proceed with default behavior, you should not change Handled.

    Constructors

    GridOleDropAtRowColEventArgs(IDataObject, Int32, Int32, Boolean)

    Initializes the new instances of the GridOleDropAtRowColEventArgs class.

    Declaration
    public GridOleDropAtRowColEventArgs(IDataObject dataObject, int rowIndex, int colIndex, bool result)
    Parameters
    Type Name Description
    System.Windows.Forms.IDataObject dataObject

    The Data Object with clipboard data.

    System.Int32 rowIndex

    The target row index.

    System.Int32 colIndex

    The target column index.

    System.Boolean result

    Default value for Result.

    Properties

    ColIndex

    Gets or sets the target column index.

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

    DataObject

    Gets or sets the Data Object with clipboard data.

    Declaration
    [TraceProperty(true)]
    public IDataObject DataObject { get; set; }
    Property Value
    Type
    System.Windows.Forms.IDataObject

    Result

    Gets or sets a value indicating whether the result of the operation (if Handled = true is specified).

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

    RowIndex

    Gets or sets the target row index.

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

    See Also

    GridOleDropAtRowColEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved