Skip to main content

DecrementParagraphOutlineLevelCommand Class

Decreases 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 DecrementParagraphOutlineLevelCommand :
    ChangeHeadingLevelCommandBase

Remarks

The ALT+SHIFT+LEFT ARROW keyboard shortcut executes the DecrementParagraphOutlineLevelCommand command.

The DecrementParagraphOutlineLevelCommand command will decrease 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), DecrementParagraphOutlineLevelCommand will change the paragraph style to the previous-level Heading style.

To increase the paragraph outline level, use the IncrementParagraphOutlineLevelCommand 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
DecrementParagraphOutlineLevelCommand
See Also