ITextView.GotAggregateFocus Event
Occurs when the keyboard focus switches to the view or one of its adornments.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣告
Event GotAggregateFocus As EventHandler
event EventHandler GotAggregateFocus
event EventHandler^ GotAggregateFocus {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
abstract GotAggregateFocus : IEvent<EventHandler,
EventArgs>
JScript does not support events.
Remarks
This event is raised whenever the rendered text displayed in the text view changes. The text view changes whenever the view does a layout (when DisplayTextLineContainingBufferPosition is called), or in response to text or classification changes. It is also raised when the view scrolls horizontally, or when its size changes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.