Skip to main content

IncrementParagraphOutlineLevelCommand Class

Increases the number of the paragraph outline level.

Namespace: DevExpress.XtraRichEdit.Commands

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public class IncrementParagraphOutlineLevelCommand :
    ChangeHeadingLevelCommandBase

Remarks

The ALT+SHIFT+RIGHT ARROW keyboard shortcut corresponds to the IncrementParagraphOutlineLevelCommand command.

The IncrementParagraphOutlineLevelCommand command will increase the paragraph outline level number without changing the text style if the initial text style does not belong to the default Heading styles and one of nine available outline levels is set to the paragraph.

Otherwise (for example, if one of the default Heading styles has been initially applied to the paragraph), IncrementParagraphOutlineLevelCommand will change the paragraph style to the next-level Heading style.

To decrease the paragraph outline level, use the DecrementParagraphOutlineLevelCommand command.

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.Internal.ChangeParagraphStyleCommandBase
DevExpress.XtraRichEdit.Commands.ChangeHeadingLevelCommandBase
IncrementParagraphOutlineLevelCommand
See Also