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

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> 
主站蜘蛛池模板: 砚山县| 邹平县| 扬中市| 红安县| 酒泉市| 航空| 蒲城县| 荣昌县| 竹溪县| 新兴县| 竹溪县| 金塔县| 台前县| 商水县| 南雄市| 靖远县| 体育| 广州市| 仪征市| 合肥市| 宁蒗| 安塞县| 孝感市| 盐山县| 安宁市| 溧阳市| 新龙县| 公主岭市| 榕江县| 青冈县| 澄城县| 内丘县| 新余市| 通渭县| 阳东县| 泸定县| 揭阳市| 聂荣县| 海原县| 都兰县| 彰化市|