Selection.AnchorPosition 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 location of the fixed selection endpoint, meaning if a user were to hold shift and click, this point would remain where it is. If this is an empty selection, this will be at the InsertionPosition.
public Microsoft.VisualStudio.Extensibility.Editor.TextPosition AnchorPosition { get; }
member this.AnchorPosition : Microsoft.VisualStudio.Extensibility.Editor.TextPosition
Public ReadOnly Property AnchorPosition As TextPosition