ASPxHtmlEditorSettings.AllowDesignView Property
In This Article
Gets or sets a value that specifies whether the Design View is available to end-users.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Allow |
---|---|---|
ASP. |
Html |
|
ASP. |
ASPx |
|
#Remarks
If the AllowDesignView property is set to false
, the editor’s Design tab is not displayed, and end-users are not allowed to modify the editor’s content using visual UI elements (such as toolbar buttons).
#Example
The complete sample project is available in the DevExpress Code Central database at E377.
...
<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server" Html='<%# Bind("Html") %>'>
<SettingsImageUpload>
<ValidationSettings AllowedFileExtensions=".jpg, .png, .gif">
</ValidationSettings>
</SettingsImageUpload>
<Settings AllowDesignView="False" AllowHtmlView="False" />
</dx:ASPxHtmlEditor>
...
See Also