XAML basic concepts
Now that we have taken our first steps with Silverlight, let's have a quick introduction to some basic concepts in XAML.
What is XAML?
Extensible Application Markup Language (XAML) is a declarative language. Specifically, XAML can initialize objects and set properties of objects, using a language structure that shows hierarchical relationships between multiple objects, and uses a backing type convention that supports extension of types. You can create visible user interface (UI) elements in the declarative XAML markup. You can then use a separate Code-Behind file to respond to events and manipulate the objects you declare in XAML (For more information on XAML, you can take a look at http://msdn.microsoft.com/en-us/library/cc189036(v=vs.95).aspx).
The advantages of XAML when compared to HTML are as follows:
- XAML is a modern language, adapted to the current needs of users and implemented from scratch (whereas HTML suffers from organic growth)
- We have only one way to implement it, which avoids us headaches derived from the problems of adaptation with different browsers and their versions
- There is a clear differentiation between declarative (XAML) and business logic/code parts (
.cs
Code-Behind)
The best you can do is try it and see for yourself.
- 企業(yè)數(shù)字化創(chuàng)新引擎:企業(yè)級(jí)PaaS平臺(tái)HZERO
- 達(dá)夢(mèng)數(shù)據(jù)庫(kù)編程指南
- Hands-On Machine Learning with Microsoft Excel 2019
- 虛擬化與云計(jì)算
- PySpark大數(shù)據(jù)分析與應(yīng)用
- Neural Network Programming with TensorFlow
- 基于Apache CXF構(gòu)建SOA應(yīng)用
- 網(wǎng)站數(shù)據(jù)庫(kù)技術(shù)
- Proxmox VE超融合集群實(shí)踐真?zhèn)?/a>
- 深入淺出 Hyperscan:高性能正則表達(dá)式算法原理與設(shè)計(jì)
- 淘寶、天貓電商數(shù)據(jù)分析與挖掘?qū)崙?zhàn)(第2版)
- 數(shù)據(jù)庫(kù)技術(shù)及應(yīng)用
- SAS金融數(shù)據(jù)挖掘與建模:系統(tǒng)方法與案例解析
- 聯(lián)動(dòng)Oracle:設(shè)計(jì)思想、架構(gòu)實(shí)現(xiàn)與AWR報(bào)告
- Unity 2018 By Example(Second Edition)