Back to Devexpress

CharacterStyleCollection.Restore(CharacterStyle) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-characterstylecollection-dot-restore-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-characterstyle-x29.md

latest1.8 KB
Original Source

CharacterStyleCollection.Restore(CharacterStyle) Method

Restores the character 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(
    CharacterStyle style
)
vb
Sub Restore(
    style As CharacterStyle
)

Parameters

NameTypeDescription
styleCharacterStyle

A CharacterStyle object that is the character style to be restored.

|

Remarks

Call the Restore method to restore the character style deleted in code using the CharacterStyleCollection.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

CharacterStyleCollection Interface

CharacterStyleCollection Members

DevExpress.XtraRichEdit.API.Native Namespace