What is XAML?

2016-01-29 12:34 2 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!

来源:https://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...
标签: windows 操作系统
虽然Longhorn两年后先推出,但是桌面程序的斗争已经开始了。Longhorn中介绍了一种新的用户界面设计语言——XAML。 XAML将会成为另一种独特的用户界面标记语言。把它加入到Longhorn中,你可以设计所有种类的真实唯美小型应用程序。当微软的XAML提早发布并能完成许多MacOS X's "Dashboard"相同功能,部分用户可能不能忍受。窗口小部件是个十分...

经验教程

404

收藏

55

热门标签

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