.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

EditPageHeaderCommand Class

A command to activate the page header and begin editing.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v20.1.Core.dll

Declaration

public class EditPageHeaderCommand :
    EditPageHeaderFooterCommand<SectionHeader>
Public Class EditPageHeaderCommand
    Inherits EditPageHeaderFooterCommand(Of SectionHeader)

Remarks

Execute this command to make the header active. An active SubDocument (section header in this case) is required for the BookmarkCollection.Select method, and for executing various commands such as the InsertPageNumberFieldCommand or the InsertPageCountFieldCommand and others. If the header is not active, an exception is thrown.

Inheritance

Object
Command
DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
RichEditCommand
RichEditMenuItemSimpleCommand
MultiCommand
DevExpress.XtraRichEdit.Commands.TransactedMultiCommand
DevExpress.XtraRichEdit.Commands.HeaderFooterRelatedMultiCommandBase
DevExpress.XtraRichEdit.Commands.EditPageHeaderFooterCommand<DevExpress.XtraRichEdit.Model.SectionHeader>
See Also