ITextView.LayoutChanged ITextView.LayoutChanged ITextView.LayoutChanged ITextView.LayoutChanged Event


Occurs whenever the text displayed in the view changes.

 event EventHandler<Microsoft::VisualStudio::Text::Editor::TextViewLayoutChangedEventArgs ^> ^ LayoutChanged;
event EventHandler<Microsoft.VisualStudio.Text.Editor.TextViewLayoutChangedEventArgs> LayoutChanged;
member this.LayoutChanged : EventHandler<Microsoft.VisualStudio.Text.Editor.TextViewLayoutChangedEventArgs> 
Event LayoutChanged As EventHandler(Of TextViewLayoutChangedEventArgs) 


This event is raised whenever the rendered text displayed in the ITextView changes.

It is raised whenever the view does a layout (which happens when DisplayTextLineContainingBufferPosition is called or in response to text or classification changes).

It ia also raised whenever the view scrolls horizontally or when its size changes.

Applies to