.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

SetParagraphHeading4LevelCommand Class

Applies the Heading 4 built-in style to the text so it is shown at the fourth level of the Table of Contents.

Namespace: DevExpress.XtraRichEdit.Commands

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

Declaration

[SubstituteMenuCaptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading4Level)]
[SubstituteDescriptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading4LevelDescription)]
public class SetParagraphHeading4LevelCommand :
    SetParagraphHeadingLevelCommandBase
<SubstituteMenuCaptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading4Level)>
<SubstituteDescriptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading4LevelDescription)>
Public Class SetParagraphHeading4LevelCommand
    Inherits SetParagraphHeadingLevelCommandBase
[SubstituteMenuCaptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading4Level)]
[SubstituteDescriptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading4LevelDescription)]
public class SetParagraphHeading4LevelCommand :
    SetParagraphHeadingLevelCommandBase
<SubstituteMenuCaptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading4Level)>
<SubstituteDescriptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading4LevelDescription)>
Public Class SetParagraphHeading4LevelCommand
    Inherits SetParagraphHeadingLevelCommandBase

Remarks

Use the SetParagraphHeading4LevelCommand command to mark the selected text as the fourth-level heading and show it at the fourth level of the TOC.

RichEditControl_HeadingStylesAndLevels

To include the text into the Table of Contents without changing the text appearance, use the Paragraph.OutlineLevel property.

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