我正在开发一个非常简单的WP7 应用程序, 只是为了好玩。 我在视图上找到一个文本框, 当我单击它时, 背景颜色会变白。 由于文本前景也是白色, 文本不会显示。 是否有一种方法可以超越默认的外观模式?
“https://i.stack.imgur.com/aqBl6.png' alt=“screenshot”/> https://i.stack.imgur.com/aqBl6.png' alt=“screenshot”/>
我正在开发一个非常简单的WP7 应用程序, 只是为了好玩。 我在视图上找到一个文本框, 当我单击它时, 背景颜色会变白。 由于文本前景也是白色, 文本不会显示。 是否有一种方法可以超越默认的外观模式?
“https://i.stack.imgur.com/aqBl6.png' alt=“screenshot”/> https://i.stack.imgur.com/aqBl6.png' alt=“screenshot”/>
若我正确理解问题, 您可以在 GotFocus 事件上更改文本框的背景和前景刷, 例如 :
private void textBox1_GotFocus(object sender, RoutedEventArgs e)
{
textBox1.Background = new SolidColorBrush(Colors.Blue);
textBox1.Foreground = new SolidColorBrush(Colors.Yellow);
}
During a Mix10 presentation, the presenter (Charlie Kindel) said that when writing Silverlight based apps for WP7 you get all of Silverlight 3.0 with some of Silverlight 4.0 mixed in. Why then is ...
Obviously it s early days, I do not know whether this is information that is in the public domain or not yet, but... I have trawled through some of this site - http://www.windowsphone7series.com/ but ...
I have been reading up on "Cloud computing" on here and still not getting it. Basically I want to develop for the WP7 http://msdn.microsoft.com/en-us/library/ff402531%28v=VS.92%29.aspx#...
I know that this is jumping the gun slightly as it is early days but has anyone got any information on how we can build apps that take advantage of a basic local SQL database like you used(!) to in ...
I know.. I know, it s only a few hours old. But how the hell do you get the little page tabbing/cycle (forgot what the official name is) on the top of the page under the app title. MIX Keynotes made ...
I m wondering if anyone has any code samples or links to documentation that demonstrate how to capture audio from the device s microphone on the new Windows Phone Series 7. I ve recently downloaded ...
If I want to develop for Windows Phone 7, what should I learn? XNA, Silverlight or other?
Windows Phone 7 has been unveiled and MS have announced all details of the development chain at the Mix10 conference. So this could be a good starting point/collection of online resources as they ...