Skip to main content

ASPxHtmlEditorHtmlEditingSettings.EnterMode Property

Gets or sets a value that specifies the editor’s behavior, when the ENTER key is pressed by an end user.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v23.2.dll

NuGet Package: DevExpress.Web


public HtmlEditorEnterMode EnterMode { get; set; }

Property Value

Type Default Description
HtmlEditorEnterMode P

One of the HtmlEditorEnterMode enumeration values.

Available values:

Name Description

Depending upon an end user’s browser the P or br tags are entered after an ENTER key press.


A Linebreak tag br is entered after pressing the ENTER key.


Paragraph tag P is entered after pressing the ENTER key.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EnterMode
ASP.NET MVC Extensions HtmlEditorBinderSettings
.HtmlEditingSettings .EnterMode
.SettingsHtmlEditing .EnterMode
ASP.NET Web Forms Controls ASPxHtmlEditor
.SettingsHtmlEditing .EnterMode
See Also