다음을 통해 공유


CoreDragDropManager.TargetRequested 이벤트

정의

끌어서 놓기 대상을 요청할 때 발생합니다.

// Register
event_token TargetRequested(TypedEventHandler<CoreDragDropManager, CoreDropOperationTargetRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreDragDropManager::TargetRequested_revoker TargetRequested(auto_revoke_t, TypedEventHandler<CoreDragDropManager, CoreDropOperationTargetRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreDragDropManager,CoreDropOperationTargetRequestedEventArgs> TargetRequested;
function onTargetRequested(eventArgs) { /* Your code */ }
coreDragDropManager.addEventListener("targetrequested", onTargetRequested);
coreDragDropManager.removeEventListener("targetrequested", onTargetRequested);
- or -
coreDragDropManager.ontargetrequested = onTargetRequested;
Public Custom Event TargetRequested As TypedEventHandler(Of CoreDragDropManager, CoreDropOperationTargetRequestedEventArgs) 

이벤트 유형

적용 대상