CodeWindowManager::OnKillFocus Method (IVsTextView^)

 

Called when the specified text view loses focus.

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

public:
virtual void OnKillFocus(
	IVsTextView^ textView
)

Parameters

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

[in] The IVsTextView representing the text view that is losing focus.

This method provides an opportunity for you do something that depends on where the focus is. If you need to implement such functionality, you must derive a class from the CodeWindowManager class and override this method.

The base method does nothing.

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

Return to top
Show: