Compartir a través de


ICollectionView.CurrentChanged Evento

Definición

Al implementar esta interfaz, active este evento después de que se haya cambiado el elemento actual.

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

Comentarios

No implemente esta interfaz para Microsoft .NET. Vea comentarios en ICollectionView.

Se aplica a