Skip to main content

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

NuGet Package: DevExpress.Web.Office

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