Back to Devexpress

RichEditControl.PasteSpecialFormShowing Event

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-1b99ebdd.md

latest3.1 KB
Original Source

RichEditControl.PasteSpecialFormShowing Event

Occurs before the Paste Special dialog is invoked.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public event PasteSpecialFormShowingEventHandler PasteSpecialFormShowing
vb
Public Event PasteSpecialFormShowing As PasteSpecialFormShowingEventHandler

Event Data

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

PropertyDescription
ControllerParametersGets the information for initializing the Paste Special dialog controls.
DialogResultGets or sets the return value of a dialog box. Inherited from ShowFormEventArgs.
HandledGets or sets whether an event was handled. If it was handled, the default actions are not required. Inherited from ShowFormEventArgs.
ParentGets or sets a parent of the form being shown. Inherited from ShowFormEventArgs.

Remarks

Handle the PasteSpecialFormShowing event to perform any actions prior to the Paste Special dialog being shown. For example, you can substitute the standard dialog with a custom one and set the ShowFormEventArgs.Handled property to true to prevent default event handling.

See Also

How to: Customize the Hyperlink Form

How to: Customize the Find and Replace Dialog in Rich Text Editor for WinForms

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace