CoreDragDropManager.TargetRequested Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a drag and drop target is requested.
// 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)