ITextSelection::IsActive Property
Visual Studio 2015
Whether or not the selection is active.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
If ActivationTracksFocus is true, this property is automatically updated whenever the ITextView gains or loses aggregate focus. You can still override this property to update while ActivationTracksFocus is false, but the value will change whenever focus changes.
Show: