What is XAML?

2016-01-29 12:34 4 1 收藏

What is XAML?,What is XAML?

【 tulaoshi.com - ASP.NET 】

XAMLXAML (pronounced "Zamel," rhymes with "Camel") is a new XML-based declarative markup language for user interface development. XAML, Extensible Application Markup Language, was created by Microsoft for rapidly building user interfaces for .NET Framework applications. "Longhorn," Microsoft's next version of Windows, is designed to separate presentation layer code from application logic. XAML is Longhorn's default language for user interface programming. XAML allows the developer to control the layout of application interfaces including text, graphics, buttons, and the entire collection of .NET user interface controls. Each XAML tag corresponds directly to a .NET Framework class. So creating a new button, for example, is as simple as using a tag in your XAML file. The tag instantiates a Button object using the default constructor and allows you to set properties on the button, such as text label, size, etc. Events and the associated "code behind" handler are specified in the XAML as attributes as well. In Longhorn, code can be either inlined in your XAML file or placed in the code behind file, much like ASP.NET. With XAML as the presentation layer and your favorite .NET language as the logic and event handling layer, you can build powerful applications that can be easily updated and modified without having to cross the line between presentation and logic. The user interface can be easily changed without touching logic and event-handling code, simplifying development and making applicaiton code more secure. Microsoft's XAML will be available only with Longhorn. The many benefits of XAML, however are available to .NET Framework developers right now with Xamlon. Download Xamlon now to try XAML Today!

来源:http://www.tulaoshi.com/n/20160129/1486624.html

延伸阅读
营养还不胖 孕妈吃这些食物 怀孕后,很多女性会每天都生活在各种吃的节奏里。但是随之而来一个问题,准妈吃得过于营养,以至于脂肪堆积造成肥胖,不仅加大生产难度,而且不利于产后恢复。那么,准妈应该怎么健康吃,既有营养又不发胖? 一、孕妇吃什么有营养又不发胖? 1.全麦食品 孕妇可适当多...
和BB关系紧张 7方法来缓和   生活中孩子和家长难免会产生冲突,造成一种紧张的局势。家长也不应该轻视或贬低自己的孩子。这样不利于孩子的健康成长。本文针对这种现象提出了几条建议,下面是10种方法来缓和与孩子紧张局势。这些建议能帮助家长理解自己的孩子,并通过这些建议帮助遏制自身的情绪。  &emsp...
标签: 电脑入门
对于我的关于你 for me about you 我还剩下什么了 I have what ---------------------------------
标签: Web开发
下面是一个简单的Grid控件的范例: Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Programming .NET 3.5 | Understanding Grids" Grid Grid.RowDefinitions RowDefinition/ RowDefinition/ RowDefinition/ /Grid.RowDefinitions Grid.Column...
标签: 电脑入门
I will cherish every good to me We look forward toour future(我们期待我们的未来) It’s never too late to get it back只要还有明天,今天永远是起跑线。 That I'm not a princess,this isn't a fairy tale. What’s past is past.(过去的就让它过去吧)(意译:缘已逝,欲何求) Never imagined we'd end like this 从未想过,...

经验教程

777

收藏

21

热门标签

ASP
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部