Back to Devexpress

RichEditInvalidFormatExceptionEventHandler Delegate

officefileapi-devexpress-dot-xtrarichedit-3470f8ea.md

latest2.4 KB
Original Source

RichEditInvalidFormatExceptionEventHandler Delegate

References a method that will handle the RichEditDocumentServer.InvalidFormatException, RichEditControl.InvalidFormatException and RichEditControl.InvalidFormatException events.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public delegate void RichEditInvalidFormatExceptionEventHandler(
    object sender,
    RichEditInvalidFormatExceptionEventArgs e
);
vb
<ComVisible(True)>
Public Delegate Sub RichEditInvalidFormatExceptionEventHandler(
    sender As Object,
    e As RichEditInvalidFormatExceptionEventArgs
)

Parameters

NameTypeDescription
senderObject

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

| | e | RichEditInvalidFormatExceptionEventArgs |

A RichEditInvalidFormatExceptionEventArgs object which contains event data.

|

Remarks

When you create a RichEditInvalidFormatExceptionEventHandler delegate, you identify the method that handles the corresponding event. To associate the 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 the following topic: Handle and Raise Events.

See Also

DevExpress.XtraRichEdit Namespace