Extensible Application Markup Language
Extensible Application Markup Language (XAML ) is a declarative XML-based language developed by Microsoft for initializing structured values and objects.[src] It is available under Microsoft's Open Specification Promise.[src] XAML is used extensively in Windows Presentation Foundation (WPF), Silverlight, Workflow Foundation (WF), Windows UI Library (WinUI), Universal Windows Platform (UWP), and .NET Multi-platform App UI (.NET MAUI).[src] In WPF and UWP, XAML is a user interface markup language to define UI elements, data binding, and events.[src] In WF, however, XAML defines workflows.[src] XAML elements map directly to Common Language Runtime (CLR) object instances, while XAML attributes map to CLR properties and events on those objects.[src] Anything that is created or implemented in XAML can be expressed using a more traditional .NET language, such as C# or Visual Basic .NET.[src] However, a key aspect of the technology is the reduced complexity needed for tools to process XAML, because it is based on XML.[src]
Extensible Application Markup Language (XAML ) is a declarative XML-based language developed by Microsoft for initializing structured values and objects.[src] It is available under Microsoft's Open Specification Promise.[src] XAML is used extensively in Windows Presentation Foundation (WPF), Silverlight, Workflow Foundation (WF), Windows UI Library (WinUI), Universal Windows Platform (UWP), and .NET Multi-platform App UI (.NET MAUI).[src] In WPF and UWP, XAML is a user interface markup language to define UI elements, data binding, and events.[src] In WF, however, XAML defines workflows.[src] XAML elements map directly to Common Language Runtime (CLR) object instances, while XAML attributes map to CLR properties and events on those objects.[src] Anything that is created or implemented in XAML can be expressed using a more traditional .NET language, such as C# or Visual Basic .NET.[src] However, a key aspect of the technology is the reduced complexity needed for tools to process XAML, because it is based on XML.[src] ==Technology== XAML originally stood for Extensible Avalon Markup Language, Avalon being the code-name for Windows Presentation Foundation (WPF).[src] Before the end of .NET Framework 3.0 development, however, Microsoft adopted XAML for Workflow Foundation (WF).[src] In WPF, XAML describes visual user interfaces.[src] WPF allows for the definition of both 2D and 3D objects, rotations, animations, and a variety of other effects and features.[src] A XAML file can be compiled into a Binary Application Markup Language (BAML) file, which may be inserted as a resource into a .NET Framework assembly.[src] At run-time, the framework engine extracts the BAML file from assembly resources, parses it, and creates a corresponding WPF visual tree or workflow.[src] In WF contexts, XAML describes potentially long-running declarative logic, such as those created by process modeling tools and rules systems.[src] The serialization format for workflows was previously called XOML, to differentiate it from UI markup use of XAML, but now they are no longer distinguished.[src] However, the file extension for files containing the workflow markup is still ".xoml".[src] XAML uses a specific way to define look and feel called Templates; differing from Cascading Style Sheet syntax, it is closer to XBL.[src] To create XAML files, one could use Microsoft Expression Blend, Microsoft Visual Studio, the hostable WF visual designer, or XAMLPad.[src] ==Examples== This Windows Presentation Foundation example shows the text "Hello, world!" in the top-level XAML container called Canvas.[src] Hello, world![src] The schema (the part) may have to be changed to work on some computers.[src] Using a schema that Microsoft recommends, the example can also be Hello, world![src] A crucial part of utilizing XAML to its full potential is making appropriate usage of binding, as well as creating custom user elements as required.[src] Binding can be done as follows: ==Differences between versions of XAML== There are three main Microsoft implementations of XAML: Windows Presentation Foundation (WPF), first available with .NET Framework 3.0 Silverlight 3 and 4, first available for Internet Explorer 6 and now deprecated Windows UI Library (formerly UWP XAML and WinRT XAML), first shipped with Windows 8 and Windows Server 2012, but now available as a part of the Windows App SDK These versions have some differences in the parsing behavior.[src] Additionally, the Silverlight 4 XAML parser is not 100% backward-compatible with Silverlight 3 files.[src] Silverlight 3 XAML files may be rejected or parsed differently by the Silverlight 4 parser.[src] Besides Microsoft implementations, there is also OpenSilver (formerly known as CSHTML5), a contemporary web technology implementation.[src] ==Lock-in concerns== In 2007, European Committee for Interoperable Systems (ECIS) – a coalition of mostly American software companies – accused Microsoft of attempting to hijack HTML and replace it with XAML, thus creating a vendor lock-in.[src] Jeremy Reimer, writing for Ars Technica described this comment as "the most egregious error" and added that XAML is unlikely to ever replace HTML.[src] ==See also== List of user interface markup languages Comparison of user interface markup languages: EMML FXML XPS XUL ZUML Interface Builder Layout manager ==References== ==External links== XAML Language Reference XAML for UWP: Overview XAML for WPF: Overview System.Windows.Markup Namespace System.Xaml Namespace[src]
39 sentences · 39 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Extensible Application Markup Language." encyclopegia.org, 2026, https://encyclopegia.org/wiki/extensible-application-markup-language. Accessed 06 December 2026.
Chicago
"Extensible Application Markup Language." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/extensible-application-markup-language.
APA
encyclopegia.org. (2026). Extensible Application Markup Language. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/extensible-application-markup-language
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON