官术网_书友最值得收藏!

Property element syntax

The properties can also be defined as an element when you cannot assign the value within the quotes. This generally starts with <element.PropertyName> and ends with </element.PropertyName>. The following example shows you how to write the Background property as an element to the Button:

    <Button> 
      <Button.Background> 
         <SolidColorBrush Color="Red" /> 
      </Button.Background> 
    </Button> 
主站蜘蛛池模板: 迁安市| 广河县| 张家口市| 高安市| 浪卡子县| 宁明县| 册亨县| 邢台县| 二手房| 广水市| 理塘县| 龙门县| 金湖县| 喀喇沁旗| 平南县| 苏州市| 广南县| 盖州市| 平远县| 清镇市| 高邮市| 凤阳县| 比如县| 博湖县| 大丰市| 黄浦区| 南召县| 屏山县| 洞口县| 安陆市| 南和县| 容城县| 白水县| 保亭| 霍林郭勒市| 阳谷县| 庆元县| 杂多县| 高州市| 彩票| 津市市|