IEditor.GotFocus 事件
适用于版本2
当焦点更改到编辑器中后发生。如果编辑器已释放,将不再触发事件。
命名空间: Microsoft.WebMatrix.Extensibility.Editor
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Event GotFocus As EventHandler
用法
Dim instance As IEditor
Dim handler As EventHandler
AddHandler instance.GotFocus, handler
event EventHandler GotFocus
event EventHandler^ GotFocus {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
abstract GotFocus : IEvent<EventHandler,
EventArgs>
JScript supports the use of events, but not the declaration of new ones.