Back to Devexpress

ParagraphStyleCollection.Restore(ParagraphStyle) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraphstylecollection-dot-restore-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraphstyle-x29.md

latest1.8 KB
Original Source

ParagraphStyleCollection.Restore(ParagraphStyle) Method

Restores the paragraph style marked as deleted.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

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

Parameters

NameTypeDescription
styleParagraphStyle

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

ParagraphStyleCollection Interface

ParagraphStyleCollection Members

DevExpress.XtraRichEdit.API.Native Namespace