Back to Devexpress

ToggleFontSuperscriptCommand Class

officefileapi-devexpress-dot-xtrarichedit-dot-commands-4d70246a.md

latest2.5 KB
Original Source

ToggleFontSuperscriptCommand Class

Toggles the superscript style on the selection.

Namespace : DevExpress.XtraRichEdit.Commands

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public class ToggleFontSuperscriptCommand :
    ToggleChangeCharacterFormattingCommandBase<CharacterFormattingScript>
vb
Public Class ToggleFontSuperscriptCommand
    Inherits ToggleChangeCharacterFormattingCommandBase(Of CharacterFormattingScript)

Remarks

Use the CharacterPropertiesBase.Superscript API property, to achieve the same result.

Inheritance

Object Command DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId> DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId> RichEditCommand DevExpress.XtraRichEdit.Commands.SelectionBasedCommandBase SelectionBasedPropertyChangeCommandBase DevExpress.XtraRichEdit.Commands.ChangeCharacterFormattingCommandBase<DevExpress.Office.CharacterFormattingScript> DevExpress.XtraRichEdit.Commands.ToggleChangeCharacterFormattingCommandBase<DevExpress.Office.CharacterFormattingScript> ToggleFontSuperscriptCommand

See Also

ToggleFontSuperscriptCommand Members

Superscript

Keyboard Shortcuts in Rich Text Editor

DevExpress.XtraRichEdit.Commands Namespace