alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FileDragEventArgs<TValue>

    Represents the class for Drag Event arguments.

    Inheritance
    object
    FileDragEventArgs<TValue>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileDragEventArgs<TValue>
    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
    bool
    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
    List<TValue>

    Left

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

    Declaration
    public double Left { get; set; }
    Property Value
    Type
    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
    double
    Remarks

    This value is returned internally by the FileManager component

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