共用方式為


ITextView.ViewportLeftChanged 事件

變更檢視區左邊緣的位置時,就會發生。 已取代

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Event ViewportLeftChanged As EventHandler
event EventHandler ViewportLeftChanged
event EventHandler^ ViewportLeftChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract ViewportLeftChanged : IEvent<EventHandler,
    EventArgs>
JScript 不支援事件。

備註

已取代。 請改用 LayoutChanged

.NET Framework 安全性

請參閱

參考

ITextView 介面

Microsoft.VisualStudio.Text.Editor 命名空間