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)

event EventHandler GotAggregateFocus

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.

Return to top