Evento IWebMatrixHost.ContextMenuOpening
Lo siguiente se aplica a v2.
Se produce cuando el usuario abre un menú contextual para un elemento de la vista de árbol.
Espacio de nombres: Microsoft.WebMatrix.Extensibility
Ensamblado: Microsoft.WebMatrix.Extensibility (en Microsoft.WebMatrix.Extensibility.dll)
Sintaxis
'Declaración
Event ContextMenuOpening As EventHandler(Of ContextMenuOpeningEventArgs)
'Uso
Dim instance As IWebMatrixHost
Dim handler As EventHandler(Of ContextMenuOpeningEventArgs)
AddHandler instance.ContextMenuOpening, handler
event EventHandler<ContextMenuOpeningEventArgs> ContextMenuOpening
event EventHandler<ContextMenuOpeningEventArgs^>^ ContextMenuOpening {
void add (EventHandler<ContextMenuOpeningEventArgs^>^ value);
void remove (EventHandler<ContextMenuOpeningEventArgs^>^ value);
}
abstract ContextMenuOpening : IEvent<EventHandler<ContextMenuOpeningEventArgs>,
ContextMenuOpeningEventArgs>
JScript supports the use of events, but not the declaration of new ones.