Windows Phone - 按钮/button 控件

 

System.Windows.Controls.Button   button控件
一、button控件的各种样式的展示
可以通过


……

来给控件定义公共的样式
调用样式的方法:在Button控件上添加样式的属性 Style="{StaticResource ButtonStyle1}"

Margin属性定义了Button控件的相对整体界面的于左上右下的距离。
Height控件的高度
Width控件的宽度
Content控件显示的内容
Click单击触发的事件
HorizontalAlignment水平位置
VerticalAlignment垂直位置
<ignore_js_op>21173633_mLdr.png 
2014-1-28 23:11 上传
下载附件 (7.59 KB)
 

MainPage.xaml

详细说明:http://wp.662p.com/thread-7943-1-1.html

posted @ 2014-11-11 10:14  huasili  阅读(301)  评论(0编辑  收藏  举报