FileManagerSettings.ItemRenamed Property
Allows you to perform custom actions after an item has been renamed.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
FileManagerItemRenamedEventHandler | A FileManagerItemRenamedEventHandler delegate method allowing you to implement custom processing. |
Remarks
Implement a FileManagerItemRenamedEventHandler delegate method and assign it to the ItemRenamed property to perform custom actions after an item has been renamed. The delegate method parameter’s FileManagerItemRenamedEventArgs.Item property gets the renamed item. The FileManagerItemRenamedEventArgs.OldName property gets the item’s old name.
To specify if a file can be uploaded and cancel the action, use the FileManagerSettings.ItemRenaming property.