Skip to main content

RichEditControl.ClipboardSetDataException Event

Occurs when an exception is thrown while trying to place data onto the Clipboard.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v23.2.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap


public event RichEditClipboardSetDataExceptionEventHandler ClipboardSetDataException

Event Data

The ClipboardSetDataException event's data class is RichEditClipboardSetDataExceptionEventArgs. The following properties provide information specific to this event:

Property Description
Exception Gets the exception which triggers the RichEditControl.ClipboardSetDataException event.


Handle the ClipboardSetDataException event to be informed when an attempt to place data onto the Clipboard is unsuccessful. You can prompt the user to repeat the copy operation.

If the event is not handled, the exception does not propagate further. This saves end users from dealing with fatal exception errors.

See Also