Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FileDragEventArgs<TValue>

    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 Description
    System.Boolean
    Remarks

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

    FileDetails

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

    Declaration
    public List<TValue> FileDetails { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    System.Double
    Remarks

    This value is returned internally by the FileManager component

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