CodeWindowManager::OnSetFocus Method (IVsTextView^)

 

Called when the specified text view receives the focus.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual void OnSetFocus(
	IVsTextView^ textView
)

Parameters

textView
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

[in] The IVsTextView object representing the view that received the focus.

The base method calls DocumentProperties::Refresh on the document properties if they exist.

In the default managed package framework implementation, this method is called from ViewFilter::OnSetFocus in the ViewFilter class in response to a "set focus" event.

Return to top
Show: