NanoByte.Common
2.6.1
|
A HintTextBox designed specifically for entering URIs. More...
Protected Member Functions | |
override void | OnDragEnter (DragEventArgs drgevent) |
override void | OnDragDrop (DragEventArgs drgevent) |
virtual bool | ValidateUri (string text) |
Checks if a text represents a valid Uri. More... | |
![]() | |
override void | OnEnter (EventArgs e) |
override void | OnLeave (EventArgs e) |
override void | OnTextChanged (EventArgs e) |
override void | OnBackColorChanged (EventArgs e) |
virtual void | OnClearButtonClicked (EventArgs e) |
Raises the ClearButtonClicked event. More... | |
Properties | |
Uri?????? | Uri [get, set] |
The Uri represented by this text box. More... | |
bool | HttpOnly [get, set] |
When set to true only URIs starting with "http:" or "https:" will be considered valid. More... | |
bool | AllowRelative [get, set] |
When set to true relative URIs are accepted. More... | |
bool | IsValid [get] |
Indicates whether the currently entered text is a valid URI. More... | |
![]() | |
new Color | ForeColor [get, set] |
Gets or sets the color used when displaying text in the control. More... | |
override string? | Text [get, set] |
string | HintText [get, set] |
A text to be displayed in SystemColors.GrayText when TextBox.Text is empty. More... | |
bool | IsHintTextVisible [get] |
Indicates whether the HintText is currently visible. More... | |
bool | ShowClearButton [get, set] |
Controls whether the clear button is shown. Remains invisible when the HintText is visible. More... | |
Additional Inherited Members | |
![]() | |
EventHandler? | ClearButtonClicked |
Occurs when the clear button is clicked. More... | |
A HintTextBox designed specifically for entering URIs.
Will turn red for invalid input and green for valid input. Will not allow focus to be lost for invalid input.
|
inlineprotectedvirtual |
Checks if a text represents a valid Uri.
text | Text to check. |
|
getset |
When set to true
relative URIs are accepted.
|
getset |
When set to true
only URIs starting with "http:" or "https:" will be considered valid.
|
get |
Indicates whether the currently entered text is a valid URI.
|
getset |