A newer version of this page is available. Switch to the current version.

ASPxSpreadsheet.DocumentSelectorItemMoving Event

Fires before an item is moved within the FileManager embedded into built-in dialogs, and allows you to cancel the action.

Namespace: DevExpress.Web.ASPxSpreadsheet

Assembly: DevExpress.Web.ASPxSpreadsheet.v18.2.dll

Declaration

public event FileManagerItemMoveEventHandler DocumentSelectorItemMoving
Public Event DocumentSelectorItemMoving As FileManagerItemMoveEventHandler

Event Data

The DocumentSelectorItemMoving event's data class is FileManagerItemMoveEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the action that raised the event should be canceled. Inherited from FileManagerActionEventArgsBase.
DestinationFolder Gets a folder where the current item is being moved.
ErrorText Gets or sets a text for the explanatory message. Inherited from FileManagerActionEventArgsBase.
Item Gets an item object related to the event.

Remarks

Each time an item is going to be moved within the FileManager used within certain built-in dialogs, the DocumentSelectorItemMoving event occurs, allowing you to cancel moving the item.

See Also