Skip to main content

ParagraphStyleCollection.Restore(ParagraphStyle) Method

Restores the paragraph style marked as deleted.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

void Restore(
    ParagraphStyle style
)

Parameters

Name Type Description
style ParagraphStyle

A ParagraphStyle object that is the paragraph style to be restored.

Remarks

Call the Restore method to restore the paragraph style deleted in code using the ParagraphStyleCollection.Delete method. Without restoring this style, you cannot create a new style with the same name as the deleted one in the user interface.

See Also