Back to Devexpress

View Modes

aspnet-7533-components-html-editor-concepts-view-modes.md

latest830 B
Original Source

View Modes

  • Dec 30, 2021

ASPxHtmlEditor allows users to modify and view content in the following view modes:

To activate a specific view mode, use the editor’s ASPxHtmlEditor.ActiveView property.

csharp
ASPxHtmlEditor1.ActiveView = HtmlEditorView.Html;
aspx
<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server" ActiveView="Html">
</dx:ASPxHtmlEditor>