Skip to main content

ParagraphStyleCollection.Restore(ParagraphStyle) Method

Restores the paragraph style marked as deleted.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.2.Core.dll

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


void Restore(
    ParagraphStyle style


Name Type Description
style ParagraphStyle

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


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