在文本编辑器执行文本行布局时发生。
命名空间: Microsoft.VisualStudio.Text.Editor
程序集: Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)
语法
声明
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 不支持事件。
备注
此,都会引发事件。 ITextView 包含的呈现文本更改。 引发该响应基础文本缓冲区中的更改,分类更改和简单的滚动。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。