Back to Devexpress

SetParagraphHeading1LevelCommand Class

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

latest3.0 KB
Original Source

SetParagraphHeading1LevelCommand Class

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

Namespace : DevExpress.XtraRichEdit.Commands

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[SubstituteDescriptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading1LevelDescription)]
[SubstituteMenuCaptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading1Level)]
public class SetParagraphHeading1LevelCommand :
    SetParagraphHeadingLevelCommandBase
vb
<SubstituteMenuCaptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading1Level)>
<SubstituteDescriptionStringId(XtraRichEditStringId.MenuCmd_SetParagraphHeading1LevelDescription)>
Public Class SetParagraphHeading1LevelCommand
    Inherits SetParagraphHeadingLevelCommandBase

Remarks

Use the SetParagraphHeading1LevelCommand command to mark the selected text as the major heading and show it at the first TOC level.

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

Inheritance

Show 11 items

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 SetParagraphHeading1LevelCommand

See Also

SetParagraphHeading1LevelCommand Members

DevExpress.XtraRichEdit.Commands Namespace