Back to Devexpress

RichEditControl.StartHeaderFooterEditing Event

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-07fd206c.md

latest3.1 KB
Original Source

RichEditControl.StartHeaderFooterEditing Event

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

Declaration

csharp
public event HeaderFooterEditingEventHandler StartHeaderFooterEditing
vb
Public Event StartHeaderFooterEditing As HeaderFooterEditingEventHandler

Event Data

The StartHeaderFooterEditing event's data class is HeaderFooterEditingEventArgs.

Remarks

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

csharp
{
    richEditControl.StartHeaderFooterEditing += richEditControl_StartHeaderFooterEditing;
    richEditControl.SelectionChanged += richEditControl_SelectionChanged;

winforms-rich-edit-implement-ms-office-word-format-painter/VB/DXApplication9/Form1.vb#L57

vb
Private Sub InitializeRichEditControl()
    AddHandler richEditControl.StartHeaderFooterEditing, AddressOf richEditControl_StartHeaderFooterEditing
    AddHandler richEditControl.SelectionChanged, AddressOf richEditControl_SelectionChanged

See Also

FinishHeaderFooterEditing

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace