DisplayInformation.AdvancedColorInfoChanged Evento

Definizione

Generato quando vengono modificate le informazioni avanzate sul colore.

// Register
event_token AdvancedColorInfoChanged(TypedEventHandler<DisplayInformation, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
DisplayInformation::AdvancedColorInfoChanged_revoker AdvancedColorInfoChanged(auto_revoke_t, TypedEventHandler<DisplayInformation, IInspectable const&> const& handler) const;
public event TypedEventHandler<DisplayInformation,object> AdvancedColorInfoChanged;
function onAdvancedColorInfoChanged(eventArgs) { /* Your code */ }
displayInformation.addEventListener("advancedcolorinfochanged", onAdvancedColorInfoChanged);
displayInformation.removeEventListener("advancedcolorinfochanged", onAdvancedColorInfoChanged);
- or -
displayInformation.onadvancedcolorinfochanged = onAdvancedColorInfoChanged;
Public Custom Event AdvancedColorInfoChanged As TypedEventHandler(Of DisplayInformation, Object) 

Tipo evento

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1803 (è stato introdotto in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v6.0)

Commenti

Si tratta di un'API di registrazione eventi che registrerà una notifica degli eventi per le app UWP in modo che possano ricevere una notifica ogni volta che sono state apportate modifiche alle info colore avanzate nel monitor corrispondente al coreWindow. L'app può quindi chiamare l'API GetAdvancedColorInfo per conoscere le funzionalità e lo stato più recenti. L'app deve tenere traccia dei valori modificati e rispondere di conseguenza, se necessario, l'API evento non indicherà quali valori sono stati modificati. Tieni presente che questo evento rimuoverà qualsiasi notifica esistente registrata in precedenza dall'app per le modifiche in Info colore avanzate.

Si applica a