In this video we will setup the XAML for creating a watermarked or 'hint' textbox in WPF. XAML WPF - Watermark/Placeholder Textbox Part 1.
This property is meant to be used for TwoWay binding in order to be updated on each change of the text and not when the focus is lost. CurrentText: Gets or sets the text of the TextBox.
WatermarkTemplate: Gets or sets the template for presenting the content, shown when the TextBox is empty and not focused. Make the most of MaskedTextBox for WPF by taking advantage of the following key features: Validate Data and Enhance Your UI The ComponentOne masked text box control (C1MaskedTextBox) provides a text box with a mask that automatically validates the input.