Selection.AnchorPoint 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 InsertionPoint.

public:
 property Microsoft::VisualStudio::Text::VirtualSnapshotPoint AnchorPoint { Microsoft::VisualStudio::Text::VirtualSnapshotPoint get(); };
public Microsoft.VisualStudio.Text.VirtualSnapshotPoint AnchorPoint { get; }
public Microsoft.VisualStudio.Text.VirtualSnapshotPoint AnchorPoint { [System.Runtime.CompilerServices.IsReadOnly] get; }
member this.AnchorPoint : Microsoft.VisualStudio.Text.VirtualSnapshotPoint
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.AnchorPoint : Microsoft.VisualStudio.Text.VirtualSnapshotPoint
Public ReadOnly Property AnchorPoint As VirtualSnapshotPoint

Property Value

Attributes

Applies to