摘要:
简单使用控件模板<Window.Resources> <ControlTemplate x:Key="buttontemplate" TargetType="{x:Type Button}"> <Border BorderBrush="Orange" BorderThickness="{TemplateBinding Button.BorderThickness}" CornerRadius="3" Background="Red" TextBl
阅读全文
posted @ 2012-03-28 23:33
KimhillZhang
阅读(196)
推荐(0)
编辑
摘要:
简单的使用控件模板<Button FontSize="15" HorizontalAlignment="Center" Content="Hello" Width="120" Height="30"> <Button.Template> <ControlTemplate> <Grid> <Rectangle Fill="Red" RadiusX="15" RadiusY="15"/&
阅读全文
posted @ 2012-03-28 23:19
KimhillZhang
阅读(235)
推荐(0)
编辑
摘要:
/// <summary> /// 集合绑定.xaml 的交互逻辑 /// </summary> public partial class 集合绑定 : Window { public 集合绑定() { InitializeComponent(); AddressList address = new AddressList() { new uAddress(){ city = "福州", area = "仓山区"}, new uAddress(){ city="漳平", area="东环路"
阅读全文
posted @ 2012-03-28 09:01
KimhillZhang
阅读(1374)
推荐(0)
编辑