Skip to main content

EditPageHeaderCommand Class

A command to activate the page header and begin editing.

Namespace: DevExpress.XtraRichEdit.Commands

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public class EditPageHeaderCommand :
    EditPageHeaderFooterCommand<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

Show 11 items
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>
EditPageHeaderCommand
See Also