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

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" /> 
主站蜘蛛池模板: 贵港市| 明星| 望江县| 奇台县| 红桥区| 遵义县| 汪清县| 大连市| 新龙县| 双城市| 云阳县| 湾仔区| 嘉祥县| 石阡县| 临猗县| 南召县| 佳木斯市| 淮安市| 长沙市| 阿瓦提县| 遂昌县| 沽源县| 玉田县| 额济纳旗| 长汀县| 高邮市| 敦化市| 于都县| 玉门市| 靖宇县| 文化| 清河县| 滕州市| 济源市| 金华市| 南皮县| 柳河县| 金秀| 高平市| 区。| 江口县|