MVCxHtmlEditorAudioSelectorSettings.FolderCreating Property
Enables you to perform custom actions before a folder is created in the Audio Selector, and allows you to cancel the action.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public FileManagerFolderCreateEventHandler FolderCreating { get; set; }
#Property Value
Type | Description |
---|---|
File |
An File |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Folder |
---|---|
MVCx |
|
#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.