Thursday, August 27, 2009

XAML - "Extensible Application Markup Language"

XAML features

* The XML code is compiled to intermediate code.
* Tags and properties of XAML have a direct counterpart in the .NET library as embedded classes and attributes.
* Uses vectorial graphical images.
* Presenting properties are a part of the language (unlike XUL that uses the CSS). Easier to write but harder to modify.
* Ability to use .NET classes from XAML.
* Ability to embed C# code into XAML with the "code" tag. (XUL uses JavaScript).
* Events (as mouse clic) are properties of tags, and tags are widgets.

Why use XAML?

XAML eases to create, edit and reuse graphical user interfaces for desktop and Web applications.
Windows Vista uses XAML for its graphical interface. The Silverlight plug-in for Web interfaces makes use of XAML.

3 comments: