HtmlEditorFileManagerCommonSettings.AllowedFileExtensions Property
Gets or sets the file extensions allowed for display in the ASPxHtmlEditor’s file selectors.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
String[] | An array of String values that contains the file extensions allowed. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowedFileExtensions |
---|---|
HtmlEditorAudioSelectorSettings |
|
HtmlEditorDocumentSelectorSettings |
|
HtmlEditorFileManagerSettingsBase |
|
HtmlEditorFlashSelectorSettings |
|
HtmlEditorImageSelectorSettings |
|
HtmlEditorSelectorSettings |
|
HtmlEditorVideoSelectorSettings |
|
MVCxHtmlEditorAudioSelectorSettings |
|
MVCxHtmlEditorDocumentSelectorSettings |
|
MVCxHtmlEditorFlashSelectorSettings |
|
MVCxHtmlEditorImageSelectorSettings |
|
MVCxHtmlEditorVideoSelectorSettings |
|
Remarks
Use the AllowedFileExtensions property to display in the file selectors (Audio Selector, Flash Selector, Image Selector, Document Selector, and Video Selector) files with the specified extensions only. Members of an array provided by the AllowedFileExtensions property are standard file extensions which begin with a dot symbol.
File extensions allowed for upload within the file selectors are specified by this property as well.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowedFileExtensions property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.