Back to Devexpress

RichEditControl.WatermarkFormShowing Event

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-08545c0b.md

latest2.7 KB
Original Source

RichEditControl.WatermarkFormShowing Event

Occurs before the Watermark dialog is invoked.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public event WatermarkFormShowingEventHandler WatermarkFormShowing
vb
Public Event WatermarkFormShowing As WatermarkFormShowingEventHandler

Event Data

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

PropertyDescription
ControllerParametersReturns information used to initialize the Watermark 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 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

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace