Partilhar via


ICollectionView.CurrentChanged Evento

Definição

Ao implementar essa interface, dispare esse evento depois que o item atual for alterado.

// 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 de evento

Comentários

Não implemente essa interface para o Microsoft .NET. Consulte Comentários em ICollectionView.

Aplica-se a