HdmiDisplayInformation.DisplayModesChanged HdmiDisplayInformation.DisplayModesChanged HdmiDisplayInformation.DisplayModesChanged HdmiDisplayInformation.DisplayModesChanged HdmiDisplayInformation.DisplayModesChanged Event

Definition

Event raised when the display mode changes.

public : event TypedEventHandler<HdmiDisplayInformation, object> DisplayModesChanged
// Register
event_token DisplayModesChanged(TypedEventHandler<HdmiDisplayInformation, object> const& handler) const;

// Revoke with event_token
void DisplayModesChanged(event_token const& cookie) const;

// Revoke with event_revoker
DisplayModesChanged_revoker DisplayModesChanged(auto_revoke_t, TypedEventHandler<HdmiDisplayInformation, object> const& handler) const;
public event TypedEventHandler<HdmiDisplayInformation, object> DisplayModesChanged
Public Event DisplayModesChanged As TypedEventHandler (Of HdmiDisplayInformation, object)
function onDisplayModesChanged(eventArgs){/* Your code */}


hdmiDisplayInformation.addEventListener("displaymodeschanged", onDisplayModesChanged);
hdmiDisplayInformation.removeEventListener("displaymodeschanged", onDisplayModesChanged);