2012年4月7日
摘要: Windows Phone中提供了五种按钮控件,分别为:Button、HyperlinkButton、RadioButton、ToggleButton、RepeatButton。这些控件显示名称的属性都是Content。Button类似于WinForm中的Button,一样有Click、KeyDown等事件,但是对于MouseEnter等鼠标操作性事件来说在手机上不好控制,所以使用起来还是谨慎些。而与WinForm的控件把不同的是,在C#代码中更改前景色和背景色等的时候Windows Phone必须使用Brush来填充,不能直接指定颜色。HyperlinkButton表示显示超链接的按钮控件。 阅读全文
posted @ 2012-04-07 08:31 WaitingSky 阅读(1470) 评论(1) 推荐(2) 编辑