DisplayInformation.DpiChanged DisplayInformation.DpiChanged DisplayInformation.DpiChanged DisplayInformation.DpiChanged DisplayInformation.DpiChanged Event

Definition

Occurs when the LogicalDpi property changes because the pixels per inch (PPI) of the display changes.

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

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

// Revoke with event_revoker
DpiChanged_revoker DpiChanged(auto_revoke_t, TypedEventHandler<DisplayInformation, object> const& handler) const;
public event TypedEventHandler<DisplayInformation, object> DpiChanged
Public Event DpiChanged As TypedEventHandler (Of DisplayInformation, object)
function onDpiChanged(eventArgs){/* Your code */}


displayInformation.addEventListener("dpiChanged", onDpiChanged);
displayInformation.removeEventListener("dpiChanged", onDpiChanged);