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

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" /> 
主站蜘蛛池模板: 金湖县| 北安市| 商城县| 樟树市| 禹城市| 隆子县| 肥乡县| 漳浦县| 江川县| 连城县| 璧山县| 大理市| 石泉县| 昌都县| 大方县| 中西区| 五家渠市| 古浪县| 长治市| 桐庐县| 太谷县| 兰州市| 孝昌县| 东乡县| 伊春市| 新河县| 织金县| 平和县| 海晏县| 民权县| 民乐县| 平昌县| 砚山县| 郧西县| 九龙城区| 博兴县| 江华| 贵州省| 榆社县| 泰宁县| 渭南市|