Back to Devexpress

DecrementParagraphOutlineLevelCommand Class

officefileapi-devexpress-dot-xtrarichedit-dot-commands-fc191252.md

latest3.0 KB
Original Source

DecrementParagraphOutlineLevelCommand Class

Decreases the number of the paragraph outline level.

Namespace : DevExpress.XtraRichEdit.Commands

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public class DecrementParagraphOutlineLevelCommand :
    ChangeHeadingLevelCommandBase
vb
Public Class DecrementParagraphOutlineLevelCommand
    Inherits 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

DecrementParagraphOutlineLevelCommand Members

Keyboard Shortcuts in Rich Text Editor

IncrementParagraphOutlineLevelCommand

DevExpress.XtraRichEdit.Commands Namespace