Back to Devexpress

RichEditCustomMarkDrawEventHandler Delegate

windowsforms-devexpress-dot-xtrarichedit-b853aea7.md

latest2.0 KB
Original Source

RichEditCustomMarkDrawEventHandler Delegate

Represents a method that will handle the RichEditControl.CustomMarkDraw event.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public delegate void RichEditCustomMarkDrawEventHandler(
    object sender,
    RichEditCustomMarkDrawEventArgs e
);
vb
Public Delegate Sub RichEditCustomMarkDrawEventHandler(
    sender As Object,
    e As RichEditCustomMarkDrawEventArgs
)

Parameters

NameTypeDescription
senderObject

The event sender (typically a RichEditControl).

| | e | RichEditCustomMarkDrawEventArgs |

A RichEditCustomMarkDrawEventArgs object that contains event data.

|

Remarks

When creating a RichEditCustomMarkDrawEventHandler delegate, you identify a method that will handle corresponding events. To associate an event with your event handler, add a delegate instance to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information on event handler delegates, see Events and Delegates in MSDN.

See Also

CustomMarkDraw

DevExpress.XtraRichEdit Namespace