Share via


Selection.AnchorPosition Property

Definition

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

Property Value

Applies to