Condividi tramite


DragDropManager.TargetRequested Evento

Definizione

Si verifica quando un oggetto viene registrato come destinazione di rilascio per .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) 

Tipo evento

Si applica a