menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FileDragEventArgs<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FileDragEventArgs<TValue>

    Represents the class for Drag Event arguments.

    Inheritance
    System.Object
    FileDragEventArgs<TValue>
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileDragEventArgs<TValue> : Object
    Type Parameters
    Name Description
    TValue

    Specifies the TValue of the FileManager.

    Constructors

    FileDragEventArgs()

    Declaration
    public FileDragEventArgs()

    Properties

    Cancel

    'true' if the file dragging must be cancelled; Otherwise, 'false'.

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

    This option allows users to prevent dragging of any particular file or folder in required scenarios.

    DropTargetDetail

    Gets the details of the target item in a drag and drop operation.

    Declaration
    public TValue DropTargetDetail { get; }
    Property Value
    Type Description
    TValue

    A TValue object containing the details of the target item where the dragged item was dropped.

    Remarks

    This property provides information about the destination of a dragged item during a drag and drop action. The structure and content of the details are determined by the type specified by TValue.

    FileDetails

    Gets the dragged file details as an array of JSON object.

    Declaration
    public List<TValue> FileDetails { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<TValue>

    Left

    Gets the horizontal position (in pixels) Client X value of target element.

    Declaration
    public double Left { get; set; }
    Property Value
    Type
    System.Double
    Remarks

    This value is returned internally by the FileManager component

    Top

    Gets the vertical position (in pixels) Client Y value of target element.

    Declaration
    public double Top { get; set; }
    Property Value
    Type
    System.Double
    Remarks

    This value is returned internally by the FileManager component

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