ISelectionTransformer.CapturePreferredXReferencePoint Method
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.
Updates internal state to cache the current x location as the desired reference point for navigation events.
public:
void CapturePreferredXReferencePoint();
public void CapturePreferredXReferencePoint ();
abstract member CapturePreferredXReferencePoint : unit -> unit
Public Sub CapturePreferredXReferencePoint ()
Remarks
This affects events like MoveToPreviousLine where the current X 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.