windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-08545c0b.md
Occurs before the Watermark dialog is invoked.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.XtraRichEdit.v25.2.dll
NuGet Package : DevExpress.Win.RichEdit
public event WatermarkFormShowingEventHandler WatermarkFormShowing
Public Event WatermarkFormShowing As WatermarkFormShowingEventHandler
The WatermarkFormShowing event's data class is WatermarkFormShowingEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| ControllerParameters | Returns information used to initialize the Watermark dialog controls. |
| DialogResult | Gets or sets the return value of a dialog box. Inherited from ShowFormEventArgs. |
| Handled | Gets or sets whether an event was handled. If it was handled, the default actions are not required. Inherited from ShowFormEventArgs. |
| Parent | Gets or sets a parent of the form being shown. Inherited from ShowFormEventArgs. |
Handle the WatermarkFormShowing event to customize the Watermark dialog or replace it with your own dialog. Enable the Handled property to prevent default event handling.
See Also