Skip to main content

MVCxHtmlEditorVideoSelectorSettings.FolderCreating Property

Enables you to perform custom actions before a folder is created in the Video Selector, and allows you to cancel the action.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public FileManagerFolderCreateEventHandler FolderCreating { get; set; }

Property Value

Type Description
FileManagerFolderCreateEventHandler

An FileManagerFolderCreateEventHandler delegate method allowing you to implement custom processing.

Property Paths

You can access this nested property as listed below:

Object Type Path to FolderCreating
MVCxHtmlEditorInsertVideoDialogSettings
.SettingsVideoSelector .FolderCreating

Remarks

You can use the delegate method parameter’s properties to identify a name (FileManagerFolderCreateEventArgs.Name) and a parent folder (FileManagerFolderCreateEventArgs.ParentFolder) of the newly created folder. To cancel the folder creation operation, set the FileManagerActionEventArgsBase.Cancel property to true. To show a message explaining the reason for the cancellation, specify the FileManagerActionEventArgsBase.ErrorText property.

See Also