Skip to main content
A newer version of this page is available. .

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.v19.2.dll

Declaration

[DefaultValue(HtmlEditorEnterMode.P)]
public HtmlEditorEnterMode EnterMode { get; set; }

Property Value

Type Default Description
HtmlEditorEnterMode **P**

One of the HtmlEditorEnterMode enumeration values.

Available values:

Name Description
Default

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

BR

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

P

Paragraph tag P is entered after pressing the ENTER key.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnterMode
ASPxHtmlEditor
.SettingsHtmlEditing.EnterMode
HtmlEditorBinderSettings
.HtmlEditingSettings.EnterMode
HtmlEditorSettings
.SettingsHtmlEditing.EnterMode
MVCxHtmlEditor
.SettingsHtmlEditing.EnterMode
See Also