Partager via


ITextView.LayoutChanged Event

Occurs when the text editor performs a text line layout.

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

Syntax

'Déclaration
Event LayoutChanged As EventHandler(Of TextViewLayoutChangedEventArgs)
event EventHandler<TextViewLayoutChangedEventArgs> LayoutChanged
 event EventHandler<TextViewLayoutChangedEventArgs^>^ LayoutChanged {
    void add (EventHandler<TextViewLayoutChangedEventArgs^>^ value);
    void remove (EventHandler<TextViewLayoutChangedEventArgs^>^ value);
}
abstract LayoutChanged : IEvent<EventHandler<TextViewLayoutChangedEventArgs>,
    TextViewLayoutChangedEventArgs>
JScript does not support events.

Remarks

This event is raised whenever the rendered text contained by the ITextView changes. It is raised in response to changes in the underlying text buffer, classification changes, and simple scrolling.

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace