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

InsertContentToClientEventArgs.KeepLastParagraph Property

Gets or sets whether the last paragraph of the inserted document is kept in the resulting document.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v18.2.dll

Declaration

public bool KeepLastParagraph { get; set; }

Property Value

Type Description
Boolean

true, to retain the last paragraph of the inserted document; otherwise, false.

Remarks

The ASPxRichEdit.InsertContentToClient event allows you to insert the server-side document’s model to the client model. To accomplish this, you can pass an Document object as the event argument’s InsertContentToClientEventArgs.Result parameter. Note that you can also pass a string value to insert a plain text.

The KeepLastParagraph specifies whether the last paragraph of the inserted document is retained in the resulting document. If set to true, this option preserves the formatting of the last inserted paragraph and adds an extra paragraph in the resulting document.

See Also