다음을 통해 공유


DragDropManager.TargetRequested 이벤트

정의

개체가 의 놓기 대상으로 DragDropManager등록될 때 발생합니다.

// Register
event_token TargetRequested(TypedEventHandler<DragDropManager, DropOperationTargetRequestedEventArgs const&> const& handler) const;

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

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

이벤트 유형

적용 대상