Windows 应用 SDK 的最新试验通道发行说明

重要

不支持在生产环境中使用试验通道,并且无法将使用试验版本的应用发布到 Microsoft Store

此试验通道包含 Windows 应用 SDK 的多个版本,其中附带了处于开发早期阶段的试验通道功能。 用于试验功能的 API 具有试验特性。 如果在代码中调用试验 API,会收到生成时警告。 试验通道中的所有 API 均可能出现大量修订和重大更改。 试验功能和 API 可随时从后续版本中删除。

重要链接

试验通道发行说明存档:

版本 1.7 实验版 (1.7.0-experimental3)

将设备上的 AI 与 Windows Copilot 运行时 API 配合使用

重要

这些 API 所需的基础 ML 模型当前要求您的设备目前在开发通道上运行最新版的 Windows 11 内部预览版。 此外,这些 API 要求您的设备需为 Copilot+ 电脑。 请参阅 Copilot+ 电脑开发人员指南 了解有关这些设备的详细信息。 在缺少必要支持的设备上调用 API 时,API 将引发异常。

Windows Copilot 运行时(WCR)提供了多个 AI 支持的功能和 API,方便你在 Windows 应用中轻松、高效、负责任地使用设备上的 AI 模型。 在此版本中,我们将提供多个以方案为中心的 API,以便利用强大的功能,而无需查找、运行或优化自己的机器学习 (ML) 模型。

详细了解在 WCR API 开发期间使用的负责任的开发做法,这些做法也可以在在 Windows 指南上开发负责任的生成 AI 应用程序和功能 中创建 AI 辅助功能时应用。

Phi 硅石

借助 Microsoft 最强大的 NPU 优化本地语言模型 Phi Silica,可以通过内置的内容审核功能对广泛的用户提示生成文本响应。 还可以指定它来执行常见任务,例如汇总一段文本、重写一段文本以便清楚起见,以及将文本转换为表格格式。 Phi Silica 已在 Windows Copilot+ 电脑设备上针对效率和性能进行了优化,同时仍提供大型语言模型(LLM)中许多功能。

有关详细信息,请参阅 Windows 应用 SDK 中的 Phi Silica 入门Windows 应用 SDK 中适用于 Phi Silica 的 API 参考

文本识别(OCR)

文本识别(也称为光学字符识别(OCR),Windows Copilot 运行时(WCR)中的 API 可以检测和提取图像中的文本,并将其转换为计算机可读字符流。 这些 API 可以标识字符、字词、行、多边形文本边界,并为每个匹配提供置信度。 WCR AI 辅助 API 集受益于 NPU 辅助加速,比旧版 Windows.Media.Ocr.OcrEngine API 更快、更准确地执行。

有关详细信息,请参阅 Windows 应用 SDK 中的 开始使用文本识别(OCR),以及 Windows 应用 SDK 中的 人工智能支持的文本识别(OCR)API 参考。

图像超分辨率

使用“ImageScaler”API,可以增加图像的锐度和清晰度,并将图像纵向扩展为原始分辨率的 8 倍。

请参阅 图像超分辨率可以做什么? 以及 Windows 应用程序 SDK 中用于 AI 图像功能的 API 参考 以了解如何入门。

图像说明

图像说明 API 可用于生成图像的文本说明。 API 可配置以指定文本说明的长度和类型。 图像说明可能包括简短的标题或为有辅助功能需求的用户提供的详细说明。

注释

在 Debug 版本中调用 ImageDescriptionGenerator.DescribeAsync() 时,可能会出现错误,可以通过继续在 Visual Studio 中进行构建来缓解该错误。

请参阅图像说明可以用来做些什么?Windows 应用 SDK 中 AI 成像功能的 API 参考

图像分割

使用图像分段 API,可以识别图像中的特定对象。 该模型同时接收图像和“提示”对象,并返回已识别对象的掩码。

请参阅图像分割可以用来做些什么?Windows 应用 SDK 中 AI 成像功能的 API 参考,以开始使用。

用于窗口化的新 API

新的 AppWindow API 可以更轻松地控制应用窗口并创建出色的体验。 新功能包括使用 EnablePlacementPersistence 自动记住窗口的大小和位置、使用 SetTaskBarIconSetTitleBarIcon 来独立设置任务栏和标题栏图标、使用 AppWindowTitleBar.PreferredTheme 设置标题栏的浅色/深色主题,以及使用 OverlappedPresenter.PreferredMinimum/MaximumSize 设置窗口的最小或最大大小。

其他值得注意的更改

  • 已添加新 BadgeNotifications 缺少的 C# 投影,因此现在可以从 C# 使用这些 API。
  • 已修复阻止使用新 AppNotificationConferencingConfig API 的类注册问题。 请注意,通知中视频或音频通话的这种增强用户体验仅在最新的 Windows 预览体验成员版本中可用。

新 API

此版本包括与 1.7-experimental2 相比的以下新增和修改实验 API:

Microsoft.Graphics.Imaging

    ImageBuffer
    ImageBufferContract
    ImageObjectExtractor
    ImageObjectExtractorContract
    ImageObjectExtractorHint
    ImageScaler
    ImageScalerContract
    PixelFormat
Microsoft.UI.Content

    ChildSiteLink
        AutomationOption
        ProcessKeyboardInput
        ProcessPointerInput

    ContentAutomationOptions
    ContentIsland
        AutomationOption
        ProcessKeyboardInput
        ProcessPointerInput

    ContentSite
        ProcessKeyboardInput
        ProcessPointerInput

    ContentSiteView
        AutomationOption
        ProcessKeyboardInput
        ProcessPointerInput

    DesktopPopupSiteBridge
        AutomationOption

    IContentSiteAutomation
        AutomationOption

    IContentSiteInput
    ReadOnlyDesktopSiteBridge
        ProcessKeyboardInput
        ProcessPointerInput
Microsoft.UI.Windowing

    AppWindow
        EnablePlacementPersistence
        EnablePlacementPersistence
        GetCurrentPlacement
        SaveCurrentPlacement
        SetPlacement
        SetTaskBarIcon
        SetTaskBarIcon
        SetTitleBarIcon
        SetTitleBarIcon

    AppWindowTitleBar
        PreferredTheme

    OverlappedPresenter
        PreferredMaximumSize
        PreferredMinimumSize
        SetPreferredBounds

    PlacementPersistenceBehaviorFlags
    TitleBarTheme
Microsoft.Windows.AI.ContentModeration

    ContentFilterOptions
    ContentFilterOptionsContract
    ImageContentFilterSeverity
    SeverityLevel
    TextContentFilterSeverity
Microsoft.Windows.AI.Generative

    ImageDescriptionContract
    ImageDescriptionGenerator
    ImageDescriptionScenario
    LanguageModel
    LanguageModelContext
    LanguageModelContract
    LanguageModelOptions
    LanguageModelResponse
    LanguageModelResponseStatus
    LanguageModelSkill
Microsoft.Windows.SemanticSearch

    EmbeddingVector
    SemanticSearchContract
Microsoft.Windows.Vision

    BoundingBox
    DetectedLineStyle
    OrientationDetectionOptions
    RecognizedLine
    RecognizedLineStyle
    RecognizedText
    RecognizedWord
    TextRecognitionContract
    TextRecognizer
    TextRecognizerOptions
Microsoft.Windows.Workloads

    WorkloadPriority
    WorkloadsContract

试验版本 1.7 (1.7.0-experimental2)

后台任务注册

BackgroundTaskBuilder API 支持为 Windows 应用 SDK 应用注册后台任务。 有关详细信息,请参阅 GitHub #4831

新通知功能

新的徽章通知支持允许在任务栏中显示应用程序的数字或符号徽章。 有关详细信息,请参阅 GitHub #4926

重要

在此版本中,由于新的 BadgeNotifications API 缺少 C# 投影,因此无法从 C# 使用这些 API。 C++ 中提供了这些 API。

视频或音频通话可以在通知中增强用户体验。 有关详细信息,请参阅 GitHub #4783

重要

此功能仅适用于 Windows 的最新 Windows 预览体验成员版本。

其他值得注意的更改

  • RichEditBox 现在通过 RichEditTextDocument.SetMathModeRichEditTextDocument.SetMath 支持数学模式。
  • CompatibilityOptions 支持将允许对服务更改如何影响应用进行更多控制。 有关详细信息,请参阅 GitHub #4976

新 API

此版本包括以下新的和经过修改的实验 API:

Microsoft.Security.Authentication.OAuth

    AuthFailure
    AuthRequestParams
    AuthRequestResult
    AuthResponse
    ClientAuthentication
    CodeChallengeMethodKind
    OAuth2Manager
    OAuthContract
    TokenFailure
    TokenFailureKind
    TokenRequestParams
    TokenRequestResult
    TokenResponse
Microsoft.UI.Composition

    CompositionNotificationDeferral
    CompositionProjectedShadow
        MaxOpacity
        MinOpacity
        OpacityFalloff

    CompositionProjectedShadowCaster
        AncestorClip
        Mask

    CompositionProjectedShadowDrawOrder
    CompositionProjectedShadowReceiver
        DrawOrder
        Mask
Microsoft.UI.Composition.Experimental

    ExpCompositionVisualSurface
    ExpExpressionNotificationProperty
    IExpCompositionPropertyChanged
    IExpCompositionPropertyChangedListener
    IExpCompositor
    IExpVisual
Microsoft.UI.Content

    AutomationTreeOptions
    ChildSiteLink
    ContentAppWindowBridge
    ContentDisplayOrientations
    ContentEnvironmentStateChangedEventArgs
        DidDisplayScaleChange

    ContentExternalBackdropLink
    ContentExternalOutputLink
    ContentIsland
        AutomationTreeOption
        Children
        Connected
        ConnectionInfo
        ConnectRemoteEndpoint
        CreateForSystemVisual
        Disconnected
        FindAllForSystemCompositor
        FragmentRootAutomationProvider
        GetBySystemVisual
        InputCapabilities
        IsRemoteEndpointConnected
        LocalToClientTransformMatrix
        LocalToParentTransformMatrix
        NextSiblingAutomationProvider
        ParentAutomationProvider
        Popups
        PreviousSiblingAutomationProvider
        Root

    ContentIslandEnvironment
        CurrentOrientation
        DisplayScale
        NativeOrientation
        ThemeChanged

    ContentIslandStateChangedEventArgs
        DidLocalToClientTransformMatrixChange
        DidLocalToParentTransformMatrixChange

    ContentSite
        InputCapabilities
        LocalToClientTransformMatrix
        LocalToParentTransformMatrix
        SetContentNodeParent
        TryGetAutomationProvider

    ContentSiteAutomationProviderRequestedEventArgs
    ContentSiteEnvironment
        CurrentOrientation
        DisplayScale
        NativeOrientation
        NotifyThemeChanged

    ContentSiteEnvironmentView
        DisplayScale

    ContentSiteView
        AutomationTreeOption
        InputCapabilities
        LocalToClientTransformMatrix
        LocalToParentTransformMatrix

    CoreWindowSiteBridge
    CoreWindowTopLevelWindowBridge
    DesktopChildSiteBridge
        AcceptRemoteEndpoint
        ConnectionInfo
        CreateWithDispatcherQueue
        IsRemoteEndpointConnected
        RemoteEndpointConnecting
        RemoteEndpointDisconnected
        RemoteEndpointRequestedStateChanged

    DesktopPopupSiteBridge
    DesktopSiteBridge
        TryCreatePopupSiteBridge

    EndpointConnectionEventArgs
    EndpointRequestedStateChangedEventArgs
    IContentIslandEndpointConnectionPrivate
    IContentNodeOwner
    IContentSiteAutomation
    IContentSiteBridgeEndpointConnectionPrivate
    IContentSiteInput
    IContentSiteLink
    IContentSiteLink2
    InputCapabilities
    PopupWindowSiteBridge
    ProcessStarter
    ReadOnlyDesktopSiteBridge
    SystemVisualSiteBridge
Microsoft.UI.Input

    InputFocusNavigationHost
        GetForSiteLink

    InputKeyboardSource
        GetForWindowId

    InputLayoutPolicy
    InputLightDismissAction
        GetForIsland

    InputPointerActivationBehavior
    InputPointerSource
        ActivationBehavior
        DirectManipulationHitTest
        GetForVisual
        GetForWindowId
        RemoveForVisual
        TouchHitTesting
        TrySetDeviceKinds

    ProximityEvaluation
    TouchHitTestingEventArgs
Microsoft.UI.Input.Experimental

    ExpInputSite
    ExpPointerPoint
Microsoft.UI.Text

    RichEditTextDocument
        GetMath
        SetMath
        SetMathMode
Microsoft.UI.Windowing

    AppWindow
        DefaultTitleBarShouldMatchAppModeTheme

    DisplayArea
        GetMetricsFromWindowId
Microsoft.UI.Xaml

    XamlIsland
    XamlRoot
        TryGetContentIsland
Microsoft.UI.Xaml.Automation.Peers

    AutomationEvents
        Notification

    InkCanvasAutomationPeer
    PagerControlAutomationPeer
Microsoft.UI.Xaml.Controls

    ContentDialogPlacement
        UnconstrainedPopup

    DoInkPresenterWork
    ElementFactory
    FlowLayout
    FlowLayoutAnchorInfo
    FlowLayoutLineAlignment
    FlowLayoutState
    IApplicationViewSpanningRects
    IndexPath
    InkCanvas
    ISelfPlayingAnimatedVisual
    ItemContainer
        CanUserInvoke
        CanUserInvokeProperty
        CanUserSelect
        CanUserSelectProperty
        ItemInvoked
        MultiSelectMode
        MultiSelectModeProperty

    ItemContainerInteractionTrigger
    ItemContainerInvokedEventArgs
    ItemContainerMultiSelectMode
    ItemContainerUserInvokeMode
    ItemContainerUserSelectMode
    LayoutPanel
    NumberBox
        InputScope
        InputScopeProperty
        TextAlignment
        TextAlignmentProperty

    PagerControl
    PagerControlButtonVisibility
    PagerControlDisplayMode
    PagerControlSelectedIndexChangedEventArgs
    PagerControlTemplateSettings
    ProgressRing
        DeterminateSource
        DeterminateSourceProperty
        IndeterminateSource
        IndeterminateSourceProperty

    RecyclePool
    RecyclingElementFactory
    ScrollingScrollStartingEventArgs
    ScrollingZoomStartingEventArgs
    ScrollView
        ScrollStarting
        ZoomStarting

    SelectionModel
    SelectionModelChildrenRequestedEventArgs
    SelectionModelSelectionChangedEventArgs
    SelectTemplateEventArgs
    StackLayout
        IsVirtualizationEnabled
        IsVirtualizationEnabledProperty

    StackLayoutState
    TitleBar
    TitleBarAutomationPeer
    TitleBarTemplateSettings
    UniformGridLayoutState
Microsoft.UI.Xaml.Controls.Primitives

    ScrollPresenter
        ScrollStarting
        ZoomStarting
Microsoft.Windows.ApplicationModel.Background

    BackgroundTaskBuilder
    BackgroundTaskContract
Microsoft.Windows.ApplicationModel.Background.UniversalBGTask

    Task
Microsoft.Windows.ApplicationModel.WindowsAppRuntime

    CompatibilityChange
    CompatibilityContract
    CompatibilityOptions
    DeploymentManager
        Repair

    DeploymentStatus
        PackageRepairFailed

    ReleaseInfo
    RuntimeInfo
    VersionInfoContract
    WindowsAppRuntimeVersion
Microsoft.Windows.AppNotifications

    AppNotification
        ConferencingConfig

    AppNotificationConferencingConfig
Microsoft.Windows.AppNotifications.Builder

    AppNotificationBuilder
        AddCameraPreview

    AppNotificationButton
        SetSettingStyle

    AppNotificationButtonSettingStyle
Microsoft.Windows.BadgeNotifications

    BadgeNotificationGlyph
    BadgeNotificationManager
    BadgeNotificationsContract
Microsoft.Windows.Media.Capture

    CameraCaptureUI
    CameraCaptureUIContract
    CameraCaptureUIMaxPhotoResolution
    CameraCaptureUIMaxVideoResolution
    CameraCaptureUIMode
    CameraCaptureUIPhotoCaptureSettings
    CameraCaptureUIPhotoFormat
    CameraCaptureUIVideoCaptureSettings
    CameraCaptureUIVideoFormat
Microsoft.Windows.Storage

    ApplicationData
        GetForUnpackaged

版本 1.7 实验版 (1.7.0-experimental1)

这是试验通道的最新版本。

若要下载,请将 WinAppSDK NuGet 版本重新定目标到 1.7.241114004-experimental1

新的 CameraCaptureUI API

使用新的 CameraCaptureUI API,可以更轻松地在 WinAppSDK 应用中捕获照片和视频。 有关详细信息,请参阅 GitHub 问题 #4721

新的身份验证 API

新的 OAuth2Manager API 为 Web 身份验证提供了简化的解决方案,为 OAuth 2.0 功能提供 WinAppSDK 支持的所有 Windows 平台的完整功能奇偶校验。 有关详细信息,请参阅 GitHub 问题 #4772

新的后台任务支持

新的 BackgroundTaskBuilder API 为 WinAppSDK 应用提供后台任务注册的集成支持。 有关详细信息,请参阅 GitHub 问题 #4822

适用于 1.7 实验性 1 的新 API

此版本包括以下新的和经过修改的实验 API:

Microsoft.Security.Authentication.OAuth

    AuthFailure
    AuthRequestParams
    AuthRequestResult
    AuthResponse
    ClientAuthentication
    CodeChallengeMethodKind
    OAuth2Manager
    OAuthContract
    TokenFailure
    TokenFailureKind
    TokenRequestParams
    TokenRequestResult
    TokenResponse
Microsoft.UI.Composition

    CompositionNotificationDeferral
    CompositionProjectedShadow
        MaxOpacity
        MinOpacity
        OpacityFalloff

    CompositionProjectedShadowCaster
        AncestorClip
        Mask

    CompositionProjectedShadowDrawOrder
    CompositionProjectedShadowReceiver
        DrawOrder
        Mask
Microsoft.UI.Composition.Experimental

    ExpCompositionVisualSurface
    ExpExpressionNotificationProperty
    IExpCompositionPropertyChanged
    IExpCompositionPropertyChangedListener
    IExpCompositor
    IExpVisual
Microsoft.UI.Content

    AutomationOptions
    ChildContentLink
    ContentAppWindowBridge
    ContentDisplayOrientations
    ContentEnvironmentStateChangedEventArgs
        DidDisplayScaleChange

    ContentExternalBackdropLink
    ContentExternalOutputLink
    ContentIsland
        Children
        Compositor
        Connected
        ConnectionInfo
        ConnectRemoteEndpoint
        Create
        Disconnected
        FindAllForCompositor
        FragmentRootAutomationProvider
        GetByVisual
        IsRemoteEndpointConnected
        NextSiblingAutomationProvider
        ParentAutomationProvider
        PreviousSiblingAutomationProvider
        Root
        TransformMatrix

    ContentIslandEnvironment
        AutomationOption
        CurrentOrientation
        DisplayScale
        NativeOrientation
        ThemeChanged

    ContentSite
        Compositor
        SetContentNodeParent
        SetIsInputPassThrough
        SiteVisual
        TransformMatrix
        TryGetAutomationProvider

    ContentSiteAutomationProviderRequestedEventArgs
    ContentSiteEnvironment
        CurrentOrientation
        DisplayScale
        NativeOrientation
        NotifyThemeChanged

    ContentSiteView
        TransformMatrix

    CoreWindowSiteBridge
    CoreWindowTopLevelWindowBridge
    DesktopChildSiteBridge
        AcceptRemoteEndpoint
        ConnectionInfo
        IsRemoteEndpointConnected
        RemoteEndpointConnecting
        RemoteEndpointDisconnected
        RemoteEndpointRequestedStateChanged

    DesktopSiteBridge
        TryCreatePopupSiteBridge

    EndpointConnectionEventArgs
    EndpointRequestedStateChangedEventArgs
    IContentIslandEndpointConnectionPrivate
    IContentLink
    IContentNodeOwner
    IContentSiteBridge2
    IContentSiteBridgeAutomation
    IContentSiteBridgeEndpointConnectionPrivate
    PopupWindowSiteBridge
    ProcessStarter
    ReadOnlyDesktopSiteBridge
    SystemVisualSiteBridge
Microsoft.UI.Input

    InputKeyboardSource
        GetForWindowId

    InputLayoutPolicy
    InputLightDismissAction
        GetForIsland

    InputPointerActivationBehavior
    InputPointerSource
        ActivationBehavior
        DirectManipulationHitTest
        GetForVisual
        GetForWindowId
        RemoveForVisual
        TouchHitTesting
        TrySetDeviceKinds

    ProximityEvaluation
    TouchHitTestingEventArgs
Microsoft.UI.Input.Experimental

    ExpInputSite
    ExpPointerPoint
Microsoft.UI.Windowing

    AppWindow
        DefaultTitleBarShouldMatchAppModeTheme

    DisplayArea
        GetMetricsFromWindowId
Microsoft.UI.Xaml

    XamlIsland
    XamlRoot
        TryGetContentIsland
Microsoft.UI.Xaml.Automation.Peers

    AutomationEvents
        Notification

    InkCanvasAutomationPeer
    PagerControlAutomationPeer
Microsoft.UI.Xaml.Controls

    ContentDialogPlacement
        UnconstrainedPopup

    DoInkPresenterWork
    ElementFactory
    FlowLayout
    FlowLayoutAnchorInfo
    FlowLayoutLineAlignment
    FlowLayoutState
    IApplicationViewSpanningRects
    IndexPath
    InkCanvas
    ISelfPlayingAnimatedVisual
    ItemContainer
        CanUserInvoke
        CanUserInvokeProperty
        CanUserSelect
        CanUserSelectProperty
        ItemInvoked
        MultiSelectMode
        MultiSelectModeProperty

    ItemContainerInteractionTrigger
    ItemContainerInvokedEventArgs
    ItemContainerMultiSelectMode
    ItemContainerUserInvokeMode
    ItemContainerUserSelectMode
    LayoutPanel
    NumberBox
        InputScope
        InputScopeProperty
        TextAlignment
        TextAlignmentProperty

    PagerControl
    PagerControlButtonVisibility
    PagerControlDisplayMode
    PagerControlSelectedIndexChangedEventArgs
    PagerControlTemplateSettings
    ProgressRing
        DeterminateSource
        DeterminateSourceProperty
        IndeterminateSource
        IndeterminateSourceProperty

    RecyclePool
    RecyclingElementFactory
    ScrollingScrollStartingEventArgs
    ScrollingZoomStartingEventArgs
    ScrollView
        ScrollStarting
        ZoomStarting

    SelectionModel
    SelectionModelChildrenRequestedEventArgs
    SelectionModelSelectionChangedEventArgs
    SelectTemplateEventArgs
    StackLayout
        IsVirtualizationEnabled
        IsVirtualizationEnabledProperty

    StackLayoutState
    TitleBar
    TitleBarAutomationPeer
    TitleBarTemplateSettings
    UniformGridLayoutState
Microsoft.UI.Xaml.Controls.Primitives

    ScrollPresenter
        ScrollStarting
        ZoomStarting
Microsoft.Windows.ApplicationModel.Background

    BackgroundTaskBuilder
    BackgroundTaskContract
Microsoft.Windows.ApplicationModel.Background.UniversalBGTask

    Task
Microsoft.Windows.ApplicationModel.WindowsAppRuntime

    DeploymentManager
        Repair

    DeploymentStatus
        PackageRepairFailed

    ReleaseInfo
    RuntimeInfo
    VersionInfoContract
Microsoft.Windows.Media.Capture

    CameraCaptureUI
    CameraCaptureUIContract
    CameraCaptureUIMaxPhotoResolution
    CameraCaptureUIMaxVideoResolution
    CameraCaptureUIMode
    CameraCaptureUIPhotoCaptureSettings
    CameraCaptureUIPhotoFormat
    CameraCaptureUIVideoCaptureSettings
    CameraCaptureUIVideoFormat
Microsoft.Windows.Storage

    ApplicationData
        GetForUnpackaged

Bug 修复

此版本中包含以下 bug 修复:

  • 更改后 SplitButton ,触摸输入现在与鼠标输入的行为匹配。 有关详细信息,请参阅 GitHub 问题 #178
  • 更改了级联菜单,因此子菜单现在会立即打开(如果单击)。 有关详细信息,请参阅 GitHub 问题 #939
  • 修复了打开 ComboBox 浮出控件中某个控件会关闭所有浮出控件的问题。 有关详细信息,请参阅 GitHub 问题 #1467
  • 修复了在一个SwipeControl中随机崩溃的问题ListView。 有关详细信息,请参阅 GitHub 问题 #2527
  • 修复了以下问题:仅 ListViewItem 拖放操作会使它处于错误的视觉状态。 有关详细信息,请参阅 GitHub 问题 #3458
  • 修复了以下问题 StackLayout :它遵循 ItemsRepeater.HorizontalAlignment 和 ItemsRepeater.VerticalAlignment 属性(当 StackLayout.Orientation 分别为垂直和水平时)。 旧布局的行为就像 ItemsRepeater 对齐方式是 Stretch。 使用修补程序时,布局会导致使用右对齐时与右侧对齐的项,例如。 有关详细信息,请参阅 GitHub 问题 #3842
  • 修复了以下问题:删除源中的 ItemsRepeater项不会生成移动到视图中的项。 有关详细信息,请参阅 GitHub 问题 #6661
  • 修复了右 Alt 键不显示访问密钥的键提示的问题。 有关详细信息,请参阅 GitHub 问题 #8447注意: 这可能会导致右 Alt 键的键事件不再传递到应用或控件中的句柄。
  • 修复了崩溃 UniformGridLayout ,有时会选取错误的布局定位点,并在向后滚动时导致无限布局传递。 有关详细信息,请参阅 GitHub 问题 #9199
  • 修复了设置为 NavigationFailedEventArgs.Handled True 仍会引发异常的问题。 有关详细信息,请参阅 GitHub 问题 #9632
  • 修复了不应用任何指定TabView项的问题CornerRadius。 有关详细信息,请参阅 GitHub 问题 #9846
  • 修复了可能的布局周期崩溃。StackLayout 有关详细信息,请参阅 GitHub 问题 #9852
  • 修复了删除项时可能出现的崩溃 ItemsView 。 有关详细信息,请参阅 GitHub 问题 #9868