Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IFileSystemItemEditor.MoveItem(FileSystemMoveItemOptions) Method

Moves a file system item (file or directory).

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

C#
void MoveItem(
    FileSystemMoveItemOptions options
)

#Parameters

Name Type Description
options FileSystemMoveItemOptions

Options related to the operation.

#Remarks

The following example illustrates how to overwrite the MoveItem method.

Refer to the Binding to Entity Framework ORM online demo to get the whole example code.

public void MoveItem(FileSystemMoveItemOptions options) {
    var item = options.Item;
    var destinationDirectory = options.DestinationDirectory;
    //...
}
See Also