A special TextBox that displays a HintText when TextBox.Text is empty and a clear button when it is not.
More...
A special TextBox that displays a HintText when TextBox.Text is empty and a clear button when it is not.
◆ OnClearButtonClicked()
virtual void NanoByte.Common.Controls.HintTextBox.OnClearButtonClicked |
( |
EventArgs |
e | ) |
|
|
protectedvirtual |
◆ ForeColor
new Color NanoByte.Common.Controls.HintTextBox.ForeColor |
|
getset |
Gets or sets the color used when displaying text in the control.
◆ HintText
string NanoByte.Common.Controls.HintTextBox.HintText |
|
getset |
A text to be displayed in SystemColors.GrayText when TextBox.Text is empty.
◆ IsHintTextVisible
bool NanoByte.Common.Controls.HintTextBox.IsHintTextVisible |
|
get |
Indicates whether the HintText is currently visible.
◆ ShowClearButton
bool NanoByte.Common.Controls.HintTextBox.ShowClearButton |
|
getset |
Controls whether the clear button is shown. Remains invisible when the HintText is visible.
◆ ClearButtonClicked
EventHandler? NanoByte.Common.Controls.HintTextBox.ClearButtonClicked |
Occurs when the clear button is clicked.
The documentation for this class was generated from the following file:
- Common.WinForms/Controls/HintTextBox.cs