- 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" />
推薦閱讀
- Python快樂編程:人工智能深度學習基礎
- ASP.NET MVC4框架揭秘
- Python零基礎快樂學習之旅(K12實戰訓練)
- 基于Swift語言的iOS App 商業實戰教程
- 自然語言處理Python進階
- FPGA Verilog開發實戰指南:基于Intel Cyclone IV(進階篇)
- 愛上micro:bit
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- Android群英傳
- Cocos2d-x Game Development Blueprints
- PHP 8從入門到精通(視頻教學版)
- Oracle 12c從入門到精通(視頻教學超值版)
- 程序員必會的40種算法
- Java程序設計及應用開發
- Enterprise Application Architecture with .NET Core