ITextView.LayoutChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs whenever the text displayed in the view changes.
public:
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
Remarks
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.