Share via


ISelectionTransformer.CapturePreferredYReferencePoint Method

Definition

Updates internal state to cache the current y ___location as the desired reference point for navigation events.

public:
 void CapturePreferredYReferencePoint();
public void CapturePreferredYReferencePoint();
abstract member CapturePreferredYReferencePoint : unit -> unit
Public Sub CapturePreferredYReferencePoint ()

Remarks

This affects events like MovePageUp where the current Y ___location of the rendered caret is used to project to the new ___location. Typically this method should be called in cases where the user is stating where they want to focus. Since this grabs the current state, there is no equivalent release method.

Applies to