Windows UWP Namespaces
This section provides detailed information about the WinUI 2 for UWP Windows Runtime (WinRT) APIs. These APIs are for UWP app development on Windows 11 and Windows 10.
For WinUI in the Windows App SDK, see the Windows App SDK namespaces.
| Namespace | Description |
|---|---|
| Microsoft.UI.Xaml | Provides general framework APIs for the Windows UI Library (WinUI). |
| Microsoft.UI.Xaml.Automation.Peers | Defines support types for the Microsoft UI Automation infrastructure. |
| Microsoft.UI.Xaml.Controls | Provides UI controls and classes for creating custom controls. |
| Microsoft.UI.Xaml.Controls.AnimatedVisuals | Defines the built-in animated visuals that can be played by an AnimatedIcon object. |
| Microsoft.UI.Xaml.Controls.Primitives | Defines the components that comprise WinUI controls, or otherwise support the control composition model. |
| Microsoft.UI.Xaml.Core.Direct | Provides a way for middleware authors to access low-level, high-performance XAML APIs and achieve better CPU and working set performance. |
| Microsoft.UI.Xaml.Media | Provides brushes, basic media support, and graphics primitives. |
| Microsoft.UI.Xaml.XamlTypeInfo | Provides support for the XAML schema. |