ITextSelection::ActivationTracksFocus Property

 

Determines whether IsActive should track when the ITextView gains and loses aggregate focus. The default is true.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

property bool ActivationTracksFocus {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the activation tracks the aggregate focus, otherwise false.

As long as the value of this property is true, the value of IsActive tracks HasAggregateFocus. If the value is false and then changes to true, the value of IsActive is immediately updated.

 

Return to top
Show: