다음을 통해 공유


Windows 앱 SDK 1.3에 대한 실험적 채널 릴리스 정보

Important

실험적 채널은 프로덕션 환경에서 사용할 수 없으며 실험적 릴리스를 사용하는 앱은 Microsoft 스토어에 게시할 수 없습니다.

실험적 채널은 개발 초기 단계의 실험적 채널 기능을 포함하는 Windows 앱 SDK의 릴리스를 제공합니다. 실험적 기능에 대한 API에는 실험적 특성이 있습니다. 코드에서 실험적 API를 호출하는 경우 빌드 시간 경고가 표시됩니다. 실험적 채널의 모든 API는 이후 릴리스에서 호환성이 손상되는 변경이 있을 수 있지만 특히 실험적 API가 변경될 수 있습니다. 실험적 기능은 다음 릴리스에서 제거되거나 릴리스되지 않을 수 있습니다.

중요 링크:

최신 실험적 채널 릴리스:

최신 안정적인 채널 릴리스:

버전 1.3 실험적(1.3.0-experimental1)

실험적 채널의 최신 릴리스입니다. 다운로드하려면 WinAppSDK NuGet 버전을 대상을 다시 지정합니다 1.3.230202101-experimental1.

XAML 배경 API

XAML 창에 기본 제공된 속성을 사용하면 이제 WinUI 3 앱에서 Mica & Background Acrylic 배경을 더 쉽게 사용할 수 있습니다.

Window.SystemBackdrop 속성에 대한 자세한 내용은 GitHub의 Xaml Backdrop API 사양을 참조하십시오.

이 릴리스에서는 아래와 같이 코드 숨김에서만 배경을 설정할 수 있습니다. 태그에서 설정 <Window.SystemBackdrop> 하면 컴파일 오류가 발생합니다.

또한 Xaml 배경 API는 현재 활성 개발 중이므로 '실험적' 태그가 누락되었습니다.

public MainWindow()
{
    this.InitializeComponent();

    this.SystemBackdrop = new MicaBackdrop();
}

Window.AppWindow

이제 여러 줄의 상용구 코드를 바꿔 창Window.AppWindow에서 AppWindow API를 직접 사용할 수 있습니다. 추가 배경 및 사용 정보는 GitHub의 Window.AppWindow API 사양 을 참조하세요.

WinAppSDK 전체의 새로운 기능

  • ApplicationModel.DynamicDependency: PackageDependency.PackageGraphRevisionId 사용되지 않는 MddGetGenerationId를 대체합니다.
  • 환경 관리자: EnvironmentManager.AreChangesTracked 애플리케이션에서 환경 관리자의 변경 내용을 추적할 수 있는지 여부를 알려 줍니다. 자세한 내용은 GitHub의 Environment Manager API 사양 참조하십시오.
  • MRT Core: 새 이벤트로, Application.ResourceManagerInitializing 앱에서 자체 인터페이스 구현 IResourceManager 을 제공할 수 있으며, WinUI에서 리소스 URI를 확인하는 데 사용하는 ResourceManager에 액세스할 수 있습니다.
  • 최신 실험적 VSIX를 사용하면 이제 프로젝트 파일 대신 Visual Studio 메뉴를 통해 패키지되지 않은 상태로 앱을 변환할 수 있습니다.
  • 이제 참조된 Static/ThemeResource 조회를 확인할 수 없는 경우 새 이벤트가 발생 DebugSettings.XamlResourceReferenceFailed 합니다. 이 이벤트는 정적 & ThemeResource 조회 실패를 디버깅할 수 있도록 프레임워크에서 해당 키를 검색한 위치를 자세히 설명하는 추적에 액세스할 수 있도록 합니다. 자세한 내용은 GitHub의 이슈 4972, 23506073을 참조하십시오.

버그 수정

  • 터치 입력으로 인해 소프트 키보드가 텍스트 상자에 표시되지 않는 문제가 해결되었습니다. 자세한 내용은 Github의 문제 6291을 참조하세요.
  • IElementFactory를 ItemTemplate으로 사용하여 ItemsRepeater가 ArgumentException을 throw하는 문제를 해결했습니다. 자세한 내용은 Github의 문제 4705을 참조하세요.

추가 실험적 API

이 릴리스에는 초기 개발 중인 여러 API도 포함되어 있습니다.

아래 목록에서는 1.3.0 안정적인 릴리스에서 출시할 계획이 없는 이 실험적 릴리스에 도입된 API에 대해 자세히 설명합니다.

**Microsoft.UI.Content**

    DesktopSiteBridge
        GetInputEnabledToRoot
        GetVisibleToRoot
        InputEnabled
**Microsoft.UI.Dispatching**

    DispatcherQueue
        FrameworkShutdownStarting
**Microsoft.UI.Input**

    InputLightDismissAction
        GetForIsland

    InputNonClientPointerSource
    InputPointerActivationBehavior
    InputPointerSource
        ActivationBehavior

    NonClientRegionCaptionTappedEventArgs
    NonClientRegionHoverEventArgs
    NonClientRegionKind
**Microsoft.UI.Input.DragDrop**

    DragDropManager
    DragDropModifiers
    DragInfo
    DragOperation
    DragUIContentMode
    DragUIOverride
    DropOperationTargetRequestedEventArgs
    IDropOperationTarget
**Microsoft.UI.Xaml.Automation.Peers**

    ItemContainerAutomationPeer
    ItemsViewAutomationPeer
**Microsoft.UI.Xaml.Controls**

    AnnotatedScrollBar
    AnnotatedScrollBarLabel
    AnnotatedScrollBarScrollEventArgs
    AnnotatedScrollBarScrollEventType
    AnnotatedScrollBarScrollOffsetRequestedEventArgs
    AnnotatedScrollBarSubLabelRequestedEventArgs
    AnnotatedScrollBarValueRequestedEventArgs
    ElementFactory
        GetElement
        GetElementCore
        RecycleElement
        RecycleElementCore

    IndexBasedLayoutOrientation
    ItemContainer
    ItemContainerInteractionTrigger
    ItemContainerInvokedEventArgs
    ItemContainerMultiSelectMode
    ItemContainerUserInvokeMode
    ItemContainerUserSelectMode
    ItemsView
    ItemsViewItemInvokedEventArgs
    ItemsViewItemInvokeMode
    ItemsViewSelectionMode
    Layout
        IndexBasedLayoutOrientation

    NonVirtualizingLayout
        IndexBasedLayoutOrientationCore

    RiverFlowLayout
    RiverFlowLayoutItemsInfoRequestedEventArgs
    RiverFlowLayoutItemsJustification
    RiverFlowLayoutItemsStretch
    VirtualizingLayout
        IndexBasedLayoutOrientationCore

    VirtualizingLayoutContext
        VisibleRect
        VisibleRectCore
**Microsoft.Graphics.Display**

    DisplayInformation
        AngularOffsetFromNativeOrientation
        DpiChanged
        OrientationChanged
        RawDpi
        RawPixelsPerViewPixel

    DisplayOrientation
**Microsoft.UI.Xaml.Hosting**

    DesktopWindowXamlSource
        CreateSiteBridge
        SiteBridge
        SystemBackdrop