Jump to content

Windows UI Library

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Uzume (talk | contribs) at 10:38, 15 October 2021 (External links: API docs and examples). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Windows UI Library
Other namesWinUI, WinRT XAML
Developer(s)Microsoft
Initial releaseSeptember 2011; 13 years ago (2011-09)
Stable release
2.7.0 / September 15, 2021; 3 years ago (2021-09-15)
Preview release
2.8.0-prerelease.210927001 / September 27, 2021; 3 years ago (2021-09-27)
Repository
Written inC++ and C#
Operating systemMicrosoft Windows[1]
PlatformIntel x86 32-bit, x86-64 and ARM
TypeApplication framework
LicenseMIT License after 2018-12-04;[2] Freeware before
Websiteaka.ms/windev Edit this at Wikidata

Windows UI Library (WinUI formerly known as Windows Runtime XAML Framework or WinRT XAML; WinRT XAML was codenamed "Jupiter",[3][4] also known as UWP XAML or simply XAML) is a user interface API that is part of the Windows Runtime programming model that forms the backbone of Universal Windows Platform apps (formerly known as Metro-style or Immersive) for the Windows 8, Windows 8.1, Windows 10 and Windows Phone 8.1 operating systems. It enables declaring user interfaces using Extensible Application Markup Language (XAML) technology.

WinUI is one of the multiple UI frameworks provided built-in for the Windows Runtime; the others being HTML5 (e.g., via WinJS) and DirectX.

WinUI 3 decouples the WinRT XAML framework from the operating system as a separate package to be updated quickly and make new features work on older versions of Windows.[5] It is part of Windows App SDK (codenamed "Project Reunion"), a Microsoft effort to reconcile the Windows desktop (Win32) and the UWP low IL app model.

Windows Phone

Up to Windows Phone 8.0 Windows Runtime XAML Framework was not supported and XAML applications were based on Silverlight XAML framework and deployed in XAP format.

In Windows Phone 8.1 the Windows Runtime XAML is available along with improved Windows Runtime support. This convergence between platforms enable Universal apps that can target both Windows 8.1 and Windows Phone 8.1 while sharing most of the code, including user interface. The Windows Phone 8.1 is still capable of running Silverlight based XAML apps and new features and API were also added to this framework too (called Silverlight 8.1[6])

The XAML Framework is related to Windows Presentation Foundation (WPF) and Silverlight—similar XAML-based UI frameworks used for desktop applications and portable applications respectively. The XAML framework uses a lot of the same names for its APIs as both of these older technologies—especially Silverlight, but its use is limited to the Windows OS (specifically Windows 8 and later) as with WPF. The major difference is that Silverlight and WPF are largely based on the Common Language Runtime (CLR) and as such require using programming languages such as C# or Visual Basic, while the XAML framework is part of the Windows Runtime, written in native code and also available, and has tools for development, with C++/CX or C++/WinRT.

See also

References

  1. ^ "XAML overview (Windows)". Windows Dev Center. Microsoft Corporation. June 11, 2013. Retrieved August 19, 2013.
  2. ^ Gallo, Kevin (December 4, 2018). "Announcing Open Source of WPF, Windows Forms, and WinUI at Microsoft Connect(); 2018". Windows Developer Blog. Official Microsoft Blog. Retrieved 2021-10-09.
  3. ^ Jerry Nixon (June 20, 2012). "Windows 8: 15 More Reasons why I choose XAML over HTML5". Microsoft.
  4. ^ Jerry Nixon, Tim Heuer (January 24, 2013). "DevRadio: XAML and Windows 8 App Development". Microsoft.
  5. ^ Blog, Windows Developer (July 7, 2020). "A deep-dive into WinUI 3 in desktop apps". Windows Developer Blog. Retrieved May 28, 2021.
  6. ^ https://msdn.microsoft.com/en-us/library/windowsphone/develop/dn642082(v=vs.105).aspx