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

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" /> 
主站蜘蛛池模板: 清涧县| 略阳县| 定边县| 乐至县| 天全县| 利辛县| 宽甸| 钟山县| 大埔县| 天津市| 伊川县| 连南| 佳木斯市| 南澳县| 黎城县| 鄢陵县| 昌吉市| 延吉市| 绵竹市| 娱乐| 大新县| 体育| 凤山市| 普兰店市| 保德县| 准格尔旗| 康平县| 长海县| 苗栗县| 宁晋县| 那曲县| 屯昌县| 英德市| 怀柔区| 华蓥市| 万宁市| 合肥市| 长兴县| 阳高县| 北川| 淮阳县|