Class FileDragEventArgs<TValue>
Represents the class for Drag Event arguments.
Inheritance
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 |
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