Windows 应用 SDK 1.4 的试验通道发行说明
重要
不支持在生产环境中使用试验通道,并且无法将使用试验版本的应用发布到 Microsoft Store。
试验通道提供 Windows App SDK 的版本,其中包括开发早期阶段的试验通道功能。 用于试验功能的 API 具有试验特性。 如果在代码中调用试验 API,会收到生成时警告。 试验通道中的所有 API 在将来的版本中可能会有重大更改,但试验 API 特别容易更改。 试验功能可能会从下一版本中删除,也可能永远不会发布。
重要链接:
- 如果要将现有应用从较旧版本的 Windows App SDK 升级到较新版本,请参阅将现有项目更新到 Windows App SDK 的最新版本。
- 有关试验版本的文档,请参阅安装 Windows App SDK 的预览和试验通道工具。
最新试验通道版本:
最新稳定通道版本:
试验版本 1.4 (1.4.0-experimental1)
这是试验通道的最新版本。
若要下载,请将 WinAppSDK NuGet 版本重新定目标到 1.4.230518007-experimental1
。
Bug 修复
此版本包含其他修补程序,包括:
- 修复了在新的 WinUI 桌面应用程序中启用调试设置帧速率计数器导致访问冲突的问题。 有关详细信息,请参阅 GitHub 上的问题 2835。
- 修复了在触摸板上水平滚动在 WebView2 网页中不起作用的问题。 有关详细信息,请参阅 GitHub 上的问题 7772。
其他实验 API
此版本包括以下新的和经过修改的实验 API:
Microsoft.UI
IClosableNotifier
Microsoft.UI.Composition.SystemBackdrops
DesktopAcrylicController
Closed
FrameworkClosed
Kind
DesktopAcrylicKind
MicaController
Closed
FrameworkClosed
Microsoft.UI.Content
ContentAppWindowBridge
SettingChanged
ContentEnvironmentSettingChangedEventArgs
ContentExternalBackdropLink
ContentExternalOutputLink
ExternalOutputBorderMode
ContentIsland
FrameworkClosed
ContentIslandWindow
SettingChanged
ContentSite
FrameworkClosed
ContentSiteWindow
NotifySettingChanged
SettingChanged
CoreWindowTopLevelWindowBridge
SettingChanged
DesktopSiteBridge
Closed
FrameworkClosed
IContentWindow
SettingChanged
SystemVisualSiteBridge
Closed
FrameworkClosed
Microsoft.UI.Input
InputLayoutPolicy
InputNonClientPointerSource
ConfigurationChanged
GetForWindowId
NonClientRegionConfigurationChangedEventArgs
Microsoft.UI.System
ThemeSettings
Microsoft.UI.Windowing
DisplayArea
GetMetricsFromWindowId
Microsoft.UI.Xaml
XamlRoot
ContentWindow
Microsoft.UI.Xaml.Controls
ItemContainer
Child
ChildProperty
ItemContainerMultiSelectMode
Extended
ItemsView
Animator
AnimatorProperty
MenuFlyoutPresenter
SystemBackdrop
SystemBackdropProperty
RiverFlowLayout
InvalidateItemsInfo
RequestedRangeCount
RequestedRangeStartIndex
RiverFlowLayoutElementAnimator
Microsoft.UI.Xaml.Controls.Primitives
CommandBarFlyoutCommandBar
SystemBackdrop
SystemBackdropProperty
Microsoft.UI.Xaml.Input
AccessKeyManager
EnterDisplayMode