- 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" />
推薦閱讀
- Game Programming Using Qt Beginner's Guide
- Java完全自學教程
- C語言程序設計
- Visual Basic程序設計習題解答與上機指導
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- C/C++程序員面試指南
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- Visual Basic程序設計上機實驗教程
- Microsoft Dynamics AX 2012 R3 Financial Management
- Android驅動開發權威指南
- 編程可以很簡單
- Clojure Polymorphism
- Java程序設計教程
- C語言程序設計實踐
- UI設計基礎培訓教程(全彩版)