Continuing on my tips in migrating from Callisto for platform-supported Windows 8.1 APIs, I’ll cover another simple, but helpful text control in this post: WatermarkTextBox.
When writing an app that provides input from customers, providing some “hint” when there is no text is a valuable thing to add. Here’s how to change to the platform-supported APIs.
Change back to TextBox
When using Callisto, you had to use a specific control that derived from TextBox. Simple enough:
<callisto:WatermarkTextBox Watermark="Enter some text..." />
In Windows 8.1 the concept of watermark text was added to controls for text input, including PasswordBox (one...