.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+

EditPageHeaderCommand Class

A command to activate the page header and begin editing.

Namespace: DevExpress.XtraRichEdit.Commands

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

Declaration

public class EditPageHeaderCommand :
    EditPageHeaderFooterCommand<SectionHeader>
Public Class EditPageHeaderCommand
    Inherits EditPageHeaderFooterCommand(Of SectionHeader)
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
DevExpress.XtraRichEdit.Commands.MultiCommand
DevExpress.XtraRichEdit.Commands.TransactedMultiCommand
DevExpress.XtraRichEdit.Commands.HeaderFooterRelatedMultiCommandBase
DevExpress.XtraRichEdit.Commands.EditPageHeaderFooterCommand<DevExpress.XtraRichEdit.Model.SectionHeader>
EditPageHeaderCommand
See Also