DisplayInformation.ColorProfileChanged Ereignis

Definition

Tritt auf, wenn sich das Farbprofil der physischen Anzeige ändert.

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

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

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

Ereignistyp

Hinweise

Das ColorProfileChanged-Ereignis wird nur ausgelöst, wenn sich das Farbprofil der Anzeige ändert. Anschließend müssen Sie die DisplayInformation.GetColorProfileAsync-Methode aufrufen, um das neue Farbprofil asynchron abzurufen.

Gilt für: