.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ParagraphStyleCollection.Restore(ParagraphStyle) Method

Restores the paragraph style marked as deleted.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

void Restore(
    ParagraphStyle style
)
Sub Restore(
    style As ParagraphStyle
)

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