CodeWindowManager.OnKillFocus Method

Called when the specified text view loses focus.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

‘선언
Public Overridable Sub OnKillFocus ( _
    textView As IVsTextView _
)
‘사용 방법
Dim instance As CodeWindowManager
Dim textView As IVsTextView

instance.OnKillFocus(textView)
public virtual void OnKillFocus(
    IVsTextView textView
)
public:
virtual void OnKillFocus(
    IVsTextView^ textView
)
abstract OnKillFocus : 
        textView:IVsTextView -> unit 
override OnKillFocus : 
        textView:IVsTextView -> unit 
public function OnKillFocus(
    textView : IVsTextView
)

Parameters

Remarks

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.

.NET Framework Security

See Also

Reference

CodeWindowManager Class

CodeWindowManager Members

Microsoft.VisualStudio.Package Namespace