menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QueryRowDraggingEventArgs - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class QueryRowDraggingEventArgs

    Provides data for QueryRowDragging event.

    Inheritance
    System.Object
    CancelEventArgs
    GridCancelEventArgs
    QueryRowDraggingEventArgs
    Inherited Members
    CancelEventArgs.Cancel
    GridCancelEventArgs.OriginalSender
    Namespace: Syncfusion.SfDataGrid.XForms
    Assembly: Syncfusion.SfDataGrid.XForms.dll
    Syntax
    public class QueryRowDraggingEventArgs : GridCancelEventArgs

    Constructors

    QueryRowDraggingEventArgs(SfDataGrid)

    Initializes a new instance of the QueryRowDraggingEventArgs class.

    Declaration
    public QueryRowDraggingEventArgs(SfDataGrid dataGrid)
    Parameters
    Type Name Description
    SfDataGrid dataGrid

    The source of the event.

    Properties

    CanAutoScroll

    Gets or sets a value indicating whether auto-scrolling should happen when row drag view reaches the top or bottom of the SfDataGrid.

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

    CurrentRowData

    Gets the underlying data of the current row over which the drag view is placed.

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

    The underlying data of the current row over which the drag view is placed.

    From

    Gets the index of the row that is being dragged.

    Declaration
    public int From { get; }
    Property Value
    Type Description
    System.Int32

    An index of the row being dragged.

    Position

    Gets the current position of the drag and drop view in a SfDataGrid.

    Declaration
    public Point Position { get; }
    Property Value
    Type Description
    Xamarin.Forms.Point

    The current position of the drag and drop view in a SfDataGrid.

    Reason

    Gets the current status (drag started or dragging or drag ended) when performing row drag-and-drop operation.

    Declaration
    public QueryRowDraggingReason Reason { get; }
    Property Value
    Type Description
    QueryRowDraggingReason

    Returns the QueryRowDraggingReason that specifies the current status (drag started or dragging or drag ended) when performing row drag-and-drop operation.

    RowData

    Gets the underlying data of the row being dragged.

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

    The underlying data of the row being dragged.

    To

    Gets the index of the row that the drag view is currently placed over or dropped.

    Declaration
    public int To { get; }
    Property Value
    Type Description
    System.Int32

    The index of the row that the drag view is currently placed over or dropped.

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