aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-aspxhtmleditorhtmleditingsettings.md
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.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(HtmlEditorEnterMode.P)]
public HtmlEditorEnterMode EnterMode { get; set; }
<DefaultValue(HtmlEditorEnterMode.P)>
Public Property EnterMode As HtmlEditorEnterMode
| 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.
|
You can access this nested property as listed below:
| Library | Object Type | Path to EnterMode |
|---|---|---|
| ASP.NET MVC Extensions | HtmlEditorBinderSettings |
.HtmlEditingSettings .EnterMode
| | HtmlEditorSettings |
.SettingsHtmlEditing .EnterMode
| | ASP.NET Web Forms Controls | ASPxHtmlEditor |
.SettingsHtmlEditing .EnterMode
|
See Also
ASPxHtmlEditorHtmlEditingSettings Class