软件以用为本

不管黄猫白猫,逮着老鼠就是好猫!

导航

随笔分类 -  WPF

XAML中 Property与Attribute的使用
摘要:对于Control而言,在XAML中设置的属性有两种语法,一种是XML元素(element)的Attribute,另一种为元素的Proptery例如1.使用XML元素Attribute设置按钮的Content属性和Background属性1<ButtonContent="HelloWorld"Background="Blue"/>22.使用XML元素Proptery设置上述按钮属性1&... 阅读全文

posted @ 2008-03-19 16:52 Jinsong Huang 阅读(519) 评论(0) 推荐(0)