다음을 통해 공유


RichEditBox.ContextMenuOpening 이벤트

정의

시스템이 상황에 맞는 메뉴를 표시하는 상호 작용을 처리할 때 발생합니다.

public:
 virtual event ContextMenuOpeningEventHandler ^ ContextMenuOpening;
// Register
event_token ContextMenuOpening(ContextMenuOpeningEventHandler const& handler) const;

// Revoke with event_token
void ContextMenuOpening(event_token const* cookie) const;

// Revoke with event_revoker
RichEditBox::ContextMenuOpening_revoker ContextMenuOpening(auto_revoke_t, ContextMenuOpeningEventHandler const& handler) const;
public event ContextMenuOpeningEventHandler ContextMenuOpening;
function onContextMenuOpening(eventArgs) { /* Your code */ }
richEditBox.addEventListener("contextmenuopening", onContextMenuOpening);
richEditBox.removeEventListener("contextmenuopening", onContextMenuOpening);
- or -
richEditBox.oncontextmenuopening = onContextMenuOpening;
Public Custom Event ContextMenuOpening As ContextMenuOpeningEventHandler 
<RichEditBox ContextMenuOpening="eventhandler" />

이벤트 유형

예제

적용 대상