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.

C++
public:
 property Microsoft::VisualStudio::Text::VirtualSnapshotPoint AnchorPoint { Microsoft::VisualStudio::Text::VirtualSnapshotPoint get(); };

Property Value

Attributes

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022