다음을 통해 공유


CodeWindowManager.OnKillFocus Method

Called when the specified text view loses focus.

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

Syntax

‘선언
Public Overridable Sub OnKillFocus ( _
    textView As IVsTextView _
)
public virtual void OnKillFocus(
    IVsTextView textView
)

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

Microsoft.VisualStudio.Package Namespace