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

Property attribute syntax

Each element can have one or more properties. You can set the properties in XAML as an attribute. The syntax of it starts with the property name, an assignment operator and a value within quotes. For example, in the following code snippet, the first example defines a button element without specifying a property attribute whereas the other two elements have the attribute defined:

    <Button /> 
    <Button Content="Click Here" /> 
    <Button Content="Click Here" Background="Red" /> 
主站蜘蛛池模板: 栖霞市| 明溪县| 澄江县| 漳平市| 桂东县| 遂溪县| 秀山| 新巴尔虎左旗| 房产| 中西区| 宁河县| 锡林郭勒盟| 增城市| 株洲市| 民权县| 太仓市| 宝应县| 静海县| 汽车| 农安县| 吴桥县| 甘德县| 绵阳市| 内黄县| 建宁县| 宜良县| 鹤峰县| 探索| 武城县| 浑源县| 江达县| 始兴县| 侯马市| 始兴县| 龙泉市| 犍为县| 贡山| 澎湖县| 托克托县| 夹江县| 盐边县|