IWebMatrixHost.ContextMenuOpening 이벤트
버전 2에 적용
사용자가 트리 보기에서 항목에 대한 상황에 맞는 메뉴를 열면 발생합니다.
네임스페이스: Microsoft.WebMatrix.Extensibility
어셈블리: Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)
구문
‘선언
Event ContextMenuOpening As EventHandler(Of ContextMenuOpeningEventArgs)
‘사용 방법
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.