Back to Devexpress

WatermarkFormShowingEventHandler Delegate

windowsforms-devexpress-dot-xtrarichedit-2b6604da.md

latest1.9 KB
Original Source

WatermarkFormShowingEventHandler Delegate

A method that handles the RichEditControl.WatermarkFormShowing event.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public delegate void WatermarkFormShowingEventHandler(
    object sender,
    WatermarkFormShowingEventArgs e
);
vb
Public Delegate Sub WatermarkFormShowingEventHandler(
    sender As Object,
    e As WatermarkFormShowingEventArgs
)

Parameters

NameTypeDescription
senderObject

The event source. This parameter identifies the RichEditControl that raised the event.

| | e | WatermarkFormShowingEventArgs |

An object that contains event data.

|

Remarks

When you create a WatermarkFormShowingEventHandler 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