共用方式為


ITextView.LostAggregateFocus Event

Occurs when the keyboard focus switches away from the view and any of its adornments.

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

Syntax

'宣告
Event LostAggregateFocus As EventHandler
event EventHandler LostAggregateFocus
 event EventHandler^ LostAggregateFocus {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract LostAggregateFocus : IEvent<EventHandler,
    EventArgs>
JScript does not support events.

Remarks

This event will not be raised when keyboard focus transitions from the view to one of its popups.

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace