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

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> 
主站蜘蛛池模板: 石嘴山市| 三都| 民权县| 札达县| 荥阳市| 晋城| 桃源县| 宽甸| 五常市| 黄陵县| 宜章县| 弥渡县| 郎溪县| 丘北县| 全椒县| 清镇市| 股票| 南靖县| 从江县| 灵寿县| 绥滨县| 盘锦市| 湟中县| 澳门| 贵定县| 木兰县| 景谷| 衡水市| 河南省| 荣昌县| 观塘区| 和静县| 杂多县| 高邑县| 宾川县| 宁远县| 正镶白旗| 望奎县| 积石山| 桃江县| 土默特右旗|