windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-07fd206c.md
Occurs when the end-user starts editing a header or footer.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.XtraRichEdit.v25.2.dll
NuGet Package : DevExpress.Win.RichEdit
public event HeaderFooterEditingEventHandler StartHeaderFooterEditing
Public Event StartHeaderFooterEditing As HeaderFooterEditingEventHandler
The StartHeaderFooterEditing event's data class is HeaderFooterEditingEventArgs.
Handle the RichEditControl.StartHeaderFooterEditing event to intercept the moment when the end-user enters the header/footer editing mode and the RichEditControl.FinishHeaderFooterEditing to indicate when the editing is finished.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the StartHeaderFooterEditing event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-rich-edit-implement-ms-office-word-format-painter/CS/DXApplication9/Form1.cs#L61
{
richEditControl.StartHeaderFooterEditing += richEditControl_StartHeaderFooterEditing;
richEditControl.SelectionChanged += richEditControl_SelectionChanged;
winforms-rich-edit-implement-ms-office-word-format-painter/VB/DXApplication9/Form1.vb#L57
Private Sub InitializeRichEditControl()
AddHandler richEditControl.StartHeaderFooterEditing, AddressOf richEditControl_StartHeaderFooterEditing
AddHandler richEditControl.SelectionChanged, AddressOf richEditControl_SelectionChanged
See Also