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.v24.1.dll

NuGet Package: DevExpress.Web

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:

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