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

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> 
主站蜘蛛池模板: 珲春市| 达州市| 玛沁县| 富源县| 泸溪县| 辉县市| 淮南市| 丹东市| 红桥区| 壶关县| 府谷县| 西平县| 景德镇市| 南昌县| 东港市| 上饶县| 仪陇县| 康平县| 通山县| 肇州县| 和政县| 安吉县| 双柏县| 鄯善县| 尚志市| 寻乌县| 东兴市| 尼勒克县| 铁力市| 东明县| 瓮安县| 平遥县| 盱眙县| 金寨县| 嘉祥县| 东海县| 阜阳市| 浙江省| 象州县| 南岸区| 远安县|