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.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
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.