- Download and install it from NuGet package manager to your project. Also you can use console
Install-Package RudMike.WatermarkedTextBox.WinForms -Version 1.0.0
- After installing the control must be shown in separate tab of your toolbox. If it doesn't, try re-open the solution. Also make sure that automatically populate toolbox is set on true.
You can use the control type a usual type and in design mode.
In design mode this control has sepatare tab "Watermark" in the control properties and events windows.
- UsePrimaryFont
- WatermarkFont
- WatermarkForeColor
- WatermarkText
- WatermarkTextAlign
- UsePrimaryFontChanged
- WatermarkFontChanged
- WatermarkForeColorChanged
- WatermarkTextAlignChanged
- WatermarkTextChanged