what is it called in visual studio? it's like textbox but it have an format for that item?
Asked
Active
Viewed 1,237 times
0
-
1`Placeholder` is likely what you are looking for - https://www.w3schools.com/tags/att_input_placeholder.asp Or possibly a `Mask` - https://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 – mjwills Nov 26 '17 at 10:59
-
https://stackoverflow.com/a/4902969/17034 – Hans Passant Nov 26 '17 at 12:44
1 Answers
1
In a web application (ASP.NET and HTML) this is called a Placeholder. In a Winform application (or WPF) it's called a Watermark. It's used to set a textbox with a default text (or pattern) which will be erased once the user starts inputting text into it or once it contains a value.

Koby Douek
- 16,156
- 19
- 74
- 103