Back to Devexpress

IncrementParagraphOutlineLevelCommand Class

officefileapi-devexpress-dot-xtrarichedit-dot-commands-01c1d945.md

latest3.0 KB
Original Source

IncrementParagraphOutlineLevelCommand Class

Increases 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 IncrementParagraphOutlineLevelCommand :
    ChangeHeadingLevelCommandBase
vb
Public Class IncrementParagraphOutlineLevelCommand
    Inherits 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

IncrementParagraphOutlineLevelCommand Members

Keyboard Shortcuts in Rich Text Editor

DecrementParagraphOutlineLevelCommand

DevExpress.XtraRichEdit.Commands Namespace