Skip to main content

CharacterStyleCollection.Restore(CharacterStyle) Method

Restores the character style marked as deleted.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

void Restore(
    CharacterStyle style
)

Parameters

Name Type Description
style CharacterStyle

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