Show / Hide Table of Contents

Constructor WatermarkAdorner.WatermarkAdorner


Overload

Initializes and adds this adorner to the AdornerLayer of the control.

public WatermarkAdorner(Control c, string text)
Parameters
c  (Control)

The adorned control. Must be a child/descendant of an AdornerDecorator.

text  (string)

Watermark text.

Exceptions
InvalidOperationException

The control isn't in an AdornerDecorator.