Back to Devexpress

RichEditViewCustomDrawEventHandler Delegate

windowsforms-devexpress-dot-xtrarichedit-ba1a0489.md

latest2.0 KB
Original Source

RichEditViewCustomDrawEventHandler Delegate

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

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

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

Parameters

NameTypeDescription
senderObject

The event source. This parameter identifies the RichEditControl, which raised the event.

| | e | RichEditViewCustomDrawEventArgs |

A RichEditCustomMarkDrawEventArgs object which contains event data.

|

Remarks

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

See Also

CustomDrawActiveView

DevExpress.XtraRichEdit Namespace