ClearableTextBox Control

This control is a replacement for the TextBox where there is a button on the right side of the control to clear the text box. The control is templated so you can change the look. The default template uses the Accent Color for the clear button. You can see the control here:


You can see the XAML here where the IsSelected property is the boolean value of whether the control is enabled or not. It is a ContentControl so what is on the right is inside the control:

<my:ClearableTextBox Text="Test Me" />

Last edited Apr 11, 2011 at 7:17 PM by TheADOGuy, version 3


No comments yet.