alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class GridRowDragLeaveEventArgs

    Provides data for the event raised when the drag operation leaves the grid or a valid drop region.

    Inheritance
    System.Object
    System.EventArgs
    GridRowDragLeaveEventArgs
    Inherited Members
    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)
    System.Object.ToString()
    Namespace: Syncfusion.WinForms.DataGrid.Events
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class GridRowDragLeaveEventArgs : EventArgs

    Constructors

    GridRowDragLeaveEventArgs(Object, DropPosition, Object, Boolean)

    Initializes a new instance of the GridRowDragLeaveEventArgs class.

    Declaration
    public GridRowDragLeaveEventArgs(object data, DropPosition dropPosition, object targetRecord, bool isFromOutsideSource)
    Parameters
    Type Name Description
    System.Object data

    The drag payload or data object.

    DropPosition dropPosition

    The last suggested drop position.

    System.Object targetRecord

    The last target record under the cursor.

    System.Boolean isFromOutsideSource

    True if the drag originated outside the grid; otherwise, false.

    Properties

    Data

    Gets the data associated with the drag operation.

    Declaration
    public object Data { get; }
    Property Value
    Type
    System.Object

    DraggingRecords

    Gets the list of dragged records extracted from the drag payload.

    Declaration
    public IReadOnlyList<object> DraggingRecords { get; }
    Property Value
    Type
    System.Collections.Generic.IReadOnlyList<System.Object>

    DropPosition

    Gets the last suggested drop position before leaving.

    Declaration
    public DropPosition DropPosition { get; }
    Property Value
    Type
    DropPosition

    IsFromOutsideSource

    Gets a value indicating whether the drag originated outside the grid.

    Declaration
    public bool IsFromOutsideSource { get; }
    Property Value
    Type
    System.Boolean

    TargetRecord

    Gets the last target record under the cursor before leaving, if available.

    Declaration
    public object TargetRecord { get; }
    Property Value
    Type
    System.Object
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved