Skip to main content

FileManagerSettings.ItemRenamed Property

Allows you to perform custom actions after an item has been renamed.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public FileManagerItemRenamedEventHandler ItemRenamed { get; set; }

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.

See Also