SetParagraphHeading5LevelCommand Class
Applies the Heading 5 built-in style to the text so it is shown at the fifth level of the Table of Contents.
Namespace: DevExpress.XtraRichEdit.Commands
Assembly: DevExpress.RichEdit.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
[SubstituteDescriptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading5LevelDescription)]
[SubstituteMenuCaptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading5Level)]
public class SetParagraphHeading5LevelCommand :
SetParagraphHeadingLevelCommandBase
Remarks
Use the SetParagraphHeading5LevelCommand command to mark the selected text as the fifth-level heading and show it at the fifth level of the TOC.
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
SelectionBasedPropertyChangeCommandBase
DevExpress.XtraRichEdit.Commands.Internal.ChangeParagraphStyleCommandBase
DevExpress.XtraRichEdit.Commands.ChangeHeadingLevelCommandBase
DevExpress.XtraRichEdit.Commands.SetParagraphHeadingLevelCommandBase
SetParagraphHeading5LevelCommand
See Also