Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Closed Issue: PhoneTextBox hides text when it's set by the viewmodel with databinding [9588]

$
0
0
When you want to set an initial value of the phonetextbox and there is an hinttext then the initial value isn't visible,
when it's set by an viewmodel or something. With an minor change in the HandleTextChanged method it can be resoloved

private void HandleTextChanged(object sender, RoutedEventArgs e)
{
UpdateLengthIndicatorVisibility();

OnGotFocus(e); // <-- ADDED!

ResizeTextBox();
}
Comments:

This no longer appears to repro using the latest toolkit release. When PhoneTextBox.Text is bound to an initial value you correctly see the initial value in the proper Foreground color.


Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>