You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

UWPXamlHost控件:桌面应用中使用UWP控件的资讯与状态问询

Answer to Your UWPXamlHost Questions

Hey there! Let me share what I know about the UWPXamlHost control from that 2018 Build demo you mentioned:

  • Preview Release Status: This control was later rolled out as a preview under the name Windows XAML Host starting around the Windows 10 October 2018 Update (version 1809). It was initially made available through early builds of the Windows Community Toolkit, letting developers test embedding UWP controls in WPF and WinForms apps right away.
  • General Availability Timeline: By late 2018, the control moved out of preview and became officially supported. Today, you can easily access it via NuGet packages: Microsoft.Toolkit.Wpf.UI.XamlHost for WPF projects, and Microsoft.Toolkit.Forms.UI.XamlHost for WinForms projects.
  • Inclusion in UWP Community Toolkit: Absolutely! The Windows XAML Host (formerly UWPXamlHost) is a core component of the Windows Community Toolkit. It’s maintained alongside other useful utilities and controls for desktop and UWP development, with full documentation and sample code available to help you get started.

A quick extra note: The control now supports most popular UWP controls (like MapControl, InkCanvas, and MediaPlayerElement) and has been updated over time to improve compatibility and performance. If you’re looking to implement this in your app, grabbing the relevant NuGet package is the first step.

内容的提问来源于stack exchange,提问作者Michael Vach

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.29 07:04:22