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

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" /> 
主站蜘蛛池模板: 崇仁县| 新野县| 黎平县| 富锦市| 济南市| 灌阳县| 乐清市| 静海县| 永仁县| 克山县| 静海县| 卓资县| SHOW| 大理市| 乾安县| 灯塔市| 洛扎县| 嘉义县| 开原市| 延吉市| 南平市| 禹州市| 阳泉市| 麻栗坡县| 东丽区| 乃东县| 云阳县| 宣汉县| 浙江省| 西宁市| 浙江省| 台南市| 巴南区| 仙居县| 中山市| 北流市| 克拉玛依市| 交城县| 金堂县| 安塞县| 廊坊市|