Condividi tramite


ICollectionView.CurrentChanged Evento

Definizione

Quando si implementa questa interfaccia, generare questo evento dopo la modifica dell'elemento corrente.

// Register
event_token CurrentChanged(EventHandler<IInspectable> const& handler) const;

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

// Revoke with event_revoker
ICollectionView::CurrentChanged_revoker CurrentChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
event System.EventHandler<object> CurrentChanged;
function onCurrentChanged(eventArgs) { /* Your code */ }
iCollectionView.addEventListener("currentchanged", onCurrentChanged);
iCollectionView.removeEventListener("currentchanged", onCurrentChanged);
- or -
iCollectionView.oncurrentchanged = onCurrentChanged;
Event CurrentChanged As EventHandler(Of Object) 

Tipo evento

Commenti

Non implementare questa interfaccia per Microsoft .NET. Vedere la sezione Osservazioni in ICollectionView.

Si applica a