摘要:
总结一下WPF中Style样式的引用方法。 一、内联样式: 直接设置控件的Height、Width、Foreground、HorizontalAlignment、VerticalAlignment等属性。 以设置一个Botton控件的样式为例,如: <Button Content="Button" 阅读全文
posted @ 2018-12-20 14:19
willamyao
阅读(439)
评论(0)
推荐(0)
摘要:
public class FrameCheckBox : CheckBox { public FrameCheckBox() : base() { var uri = new Uri("pack://application:,,,/WpfApp2;component/Theme/CheckBox.xa... 阅读全文
posted @ 2018-12-20 14:06
willamyao
阅读(326)
评论(0)
推荐(0)

浙公网安备 33010602011771号