Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DecrementParagraphOutlineLevelCommand Class

Decreases the number of the paragraph outline level.

Namespace: DevExpress.XtraRichEdit.Commands

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

NuGet Package: DevExpress.RichEdit.Core

#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