ITextView.LayoutChanged Event


Occurs when the text editor performs a text line layout.

 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) 

Event Type



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