DragDropManager.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 an object is registered as a drop target for the 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)