다음을 통해 공유


XamlSourceFocusNavigationRequest 클래스

정의

DesktopWindowXamlSource 개체에 대한 포커스 요청에 대한 정보를 제공합니다.

public ref class XamlSourceFocusNavigationRequest sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory, 327680, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XamlSourceFocusNavigationRequest final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory), 327680, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class XamlSourceFocusNavigationRequest
Public NotInheritable Class XamlSourceFocusNavigationRequest
상속
Object Platform::Object IInspectable XamlSourceFocusNavigationRequest
특성

생성자

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason)

지정된 탐색 요청 이유로 XamlSourceFocusNavigationRequest 개체의 새 instance 초기화합니다.

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect)

지정된 탐색 요청 이유 및 탐색 포커스를 받을 경계 사각형에 대한 XamlSourceFocusNavigationRequest 개체의 새 instance 초기화합니다.

XamlSourceFocusNavigationRequest(XamlSourceFocusNavigationReason, Rect, Guid)

탐색 요청의 이유, 탐색 포커스를 받을 경계 사각형 및 요청에 대한 고유 상관 관계 ID를 사용하여 XamlSourceFocusNavigationRequest 클래스의 새 instance 초기화합니다.

지정된 탐색 요청 이유, 탐색 포커스를 받을 경계 사각형 및 요청에 대한 고유 상관 관계 ID에 대한 XamlSourceFocusNavigationRequest 개체의 새 instance 초기화합니다.

속성

CorrelationId

포커스 이동 이벤트가 시작될 때 생성된 고유 ID를 가져옵니다.

HintRect

탐색 포커스를 받을 가능성이 가장 높은 포커스 후보를 식별하는 데 사용되는 경계 사각형을 가져옵니다.

Reason

DesktopWindowXamlSource 개체를 사용하여 XAML 기반 UI를 호스트하는 데스크톱 애플리케이션에서 Windows.UI.Xaml.UIElement에 포커스가 있는 방법을 가져옵니다.

적용 대상