Class ItemsMoveEventArgs<TValue>
Provides information about the ItemsMoving event callback.
Inheritance
Namespace: Syncfusion.Blazor.FileManager
Assembly: Syncfusion.Blazor.dll
Syntax
public class ItemsMoveEventArgs<TValue> : Object
Type Parameters
Name | Description |
---|---|
TValue | Specifies the TValue of FileManager events. |
Constructors
ItemsMoveEventArgs()
Declaration
public ItemsMoveEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the corresponding move action.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | 'true' if the moving action must be cancelled; otherwise 'false'. |
Remarks
Moving action can be prevented here for specific file or folders using this option.
Files
Gets the file or folder details in which the cut or copy action is executed.
Declaration
public List<TValue> Files { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TValue> | Represents the file or folder details of cut or copy action. |
IsCopy
Gets whether the copy action is performed in the FileManager component.
Declaration
public bool IsCopy { get; }
Property Value
Type | Description |
---|---|
System.Boolean | ‘true’ if the copy action takes place; ‘false’ if it is a cut action. |
Path
Gets the path for the FileManager component.
Declaration
public string Path { get; }
Property Value
Type | Description |
---|---|
System.String | Represents the relative or absolute path of the directory. |
Response
Gets or sets the move action result.
Declaration
public FileManagerResponse<TValue> Response { get; set; }
Property Value
Type | Description |
---|---|
FileManagerResponse<TValue> | Represents the move action result. |
TargetData
Gets or sets the complete item data of the target folder to which the item is being moved.
Declaration
public FileManagerDirectoryContent TargetData { get; set; }
Property Value
Type | Description |
---|---|
FileManagerDirectoryContent | Represents the target data for files or folders. |
Remarks
The complete details of target item can be retrieved here.
TargetPath
Gets or sets the target path of the file item where the file item is intended to be moved
Declaration
public string TargetPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | Represents the target path of the file item. |
Remarks
This property provides the destination path for the cut or copied item to be moved.