摘要: XAML代码:<Window x:Class="WpfApplication3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <Grid > &l 阅读全文
posted @ 2012-04-10 21:05 @张凯@ 阅读(3864) 评论(0) 推荐(0) 编辑
摘要: <Window.Resources> <!--定义按钮样式--> <Style TargetType="Button"> <Setter Property="Foreground" Value="Black"/> <!--修改模板属性--> <Setter Property="Template"> <Setter.Value> <!--控件模板--> <ControlTemplate TargetType=&quo 阅读全文
posted @ 2012-04-10 19:19 @张凯@ 阅读(454) 评论(0) 推荐(0) 编辑