dotnet add package PlaceholderTextBox --version 1.3.1
NuGet\Install-Package PlaceholderTextBox -Version 1.3.1
<PackageReference Include="PlaceholderTextBox" Version="1.3.1" />
paket add PlaceholderTextBox --version 1.3.1
#r "nuget: PlaceholderTextBox, 1.3.1"
// Install PlaceholderTextBox as a Cake Addin #addin nuget:?package=PlaceholderTextBox&version=1.3.1 // Install PlaceholderTextBox as a Cake Tool #tool nuget:?package=PlaceholderTextBox&version=1.3.1
In many cases, a TextBox with an easy Placeholder property would be very helpful especially when you want the user to filter a ListView or ListBox by search terms.
So, I never found a really good one. I know there exists a very easy method with only one SendMessage method, but I don't like it because the placeholder is hard to differentiate with the actually typed text and I don't like these message things very much, too many things can go wrong.
Now I created my own control and my destination is that it is very easy to use.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET Framework||net is compatible.|
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
I did not create this control, I packaged it up for NuGet because it is awsome. Here are the sources: http://www.codeproject.com/Tips/589115/TextBox-with-Placeholder