FocusNavigationRequest.HintRect Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the bounding rectangle used to identify the focus candidates most likely to receive navigation focus.
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)
Property Value
The bounding rectangle used to identify the focus candidates most likely to receive navigation focus.
Remarks
Coordinates are in the context of where focus is moving from. To convert the HintRect to the coordinate space that focus is moving to, use a coordinate converter (ContentIsland.CoordinateConverter, ContentSite.CoordinateConverter, ContentSiteView.CoordinateConverter).
The caller should create the FocusNavigationRequest with the HintRect in its local space, and have the called context convert the HintRect to its local space. HintRect will be null if the caller does not specify a HintRect.