Back to Devexpress

ASPxHtmlEditorHtmlEditingSettings.EnterMode Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-aspxhtmleditorhtmleditingsettings.md

latest2.6 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(HtmlEditorEnterMode.P)]
public HtmlEditorEnterMode EnterMode { get; set; }
vb
<DefaultValue(HtmlEditorEnterMode.P)>
Public Property EnterMode As HtmlEditorEnterMode

Property Value

TypeDefaultDescription
HtmlEditorEnterModeP

One of the HtmlEditorEnterMode enumeration values.

|

Available values:

NameDescription
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:

LibraryObject TypePath to EnterMode
ASP.NET MVC ExtensionsHtmlEditorBinderSettings

.HtmlEditingSettings .EnterMode

| | HtmlEditorSettings |

.SettingsHtmlEditing .EnterMode

| | ASP.NET Web Forms Controls | ASPxHtmlEditor |

.SettingsHtmlEditing .EnterMode

|

See Also

HTML Editor

ASPxHtmlEditorHtmlEditingSettings Class

ASPxHtmlEditorHtmlEditingSettings Members

DevExpress.Web.ASPxHtmlEditor Namespace