WinUI

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

    Show / Hide Table of Contents

    Class DataGridRowDragEventArgs

    Provides common data for DataGrid row drag-drop events.

    Inheritance
    System.Object
    DataGridRowDragEventArgs
    DataGridRowDragOverEventArgs
    DataGridRowDroppedEventArgs
    DataGridRowDroppingEventArgs
    Namespace: Syncfusion.UI.Xaml.DataGrid
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public abstract class DataGridRowDragEventArgs : EventArgs

    Constructors

    DataGridRowDragEventArgs()

    Initializes a new instance of DataGridRowDragEventArgs event.

    Declaration
    public DataGridRowDragEventArgs()

    Properties

    Data

    Gets a data object while dragging the rows.

    Declaration
    public DataPackageView Data { get; }
    Property Value
    Type Description
    Windows.ApplicationModel.DataTransfer.DataPackageView

    DraggingRows

    Gets the collection which contains the data associated while dragging the rows.

    Declaration
    public ObservableCollection<object> DraggingRows { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<System.Object>

    DropPosition

    Gets a value indicating the drop position, which is based on dropped location

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

    TargetIndex

    Gets a value indicating the target index, which is going to drop.

    Declaration
    public int TargetIndex { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved