다음을 통해 공유


FocusNavigationRequest.HintRect 속성

정의

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

public:
 property IReference<Rect> ^ HintRect { IReference<Rect> ^ get(); };
IReference<Rect> HintRect();
public System.Nullable<Rect> HintRect { get; }
var iReference = focusNavigationRequest.hintRect;
Public ReadOnly Property HintRect As Nullable(Of Rect)

속성 값

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

설명

좌표는 포커스가 이동하는 컨텍스트에 있습니다. HintRect를 포커스가 이동하는 좌표 공간으로 변환하려면 좌표 변환기(ContentIsland.CoordinateConverter, ContentSite.CoordinateConverter, ContentSiteView.CoordinateConverter)를 사용합니다.

호출자는 로컬 공간에서 HintRect를 사용하여 FocusNavigationRequest를 만들고 호출된 컨텍스트가 HintRect를 로컬 공간으로 변환하도록 해야 합니다. 호출자가 HintRect를 지정하지 않으면 HintRect는 null이 됩니다.

적용 대상