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
'宣言
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
- 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.