MVCxHtmlEditorVideoSelectorSettings.ItemRenaming Property

Enables you to perform custom actions before an item is renamed in the Video Selector, and allows you to cancel the action.

Namespace: DevExpress.Web.Mvc

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

Declaration

public FileManagerItemRenameEventHandler ItemRenaming { get; set; }
Public Property ItemRenaming As FileManagerItemRenameEventHandler

Property Value

Type Description
FileManagerItemRenameEventHandler

An FileManagerItemRenameEventHandler delegate method allowing you to implement custom processing.

Remarks

The delegate method parameter's FileManagerItemRenameEventArgs.Item property identifies the item that is being processed. The new name of the item can be obtained via the FileManagerItemRenameEventArgs.NewName property. To cancel the renaming operation, set the FileManagerActionEventArgsBase.Cancel property to true. To show a message explaining the reason for canceling the renaming operation, specify the FileManagerActionEventArgsBase.ErrorText property.

See Also