- Mastering Visual Studio 2017
- Kunal Chowdhury
- 66字
- 2021-07-15 17:26:42
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" />
推薦閱讀
- Visual FoxPro程序設(shè)計(jì)教程
- Learn Swift by Building Applications
- 精通Scrapy網(wǎng)絡(luò)爬蟲(chóng)
- Java EE 7 Performance Tuning and Optimization
- Learning Concurrent Programming in Scala
- 微服務(wù)從小白到專家:Spring Cloud和Kubernetes實(shí)戰(zhàn)
- Mastering Linux Security and Hardening
- Hadoop 2.X HDFS源碼剖析
- Java并發(fā)編程:核心方法與框架
- HTML+CSS+JavaScript網(wǎng)頁(yè)制作:從入門到精通(第4版)
- Python全棧開(kāi)發(fā):基礎(chǔ)入門
- Mastering PowerCLI
- LabVIEW數(shù)據(jù)采集(第2版)
- jMonkeyEngine 3.0 Beginner’s Guide
- C++從零開(kāi)始學(xué)(視頻教學(xué)版)(第2版)