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 DpiChanged<DisplayInformation, object>
// 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_revoker_t, TypedEventHandler<DisplayInformation, object> const& handler) const;
public event TypedEventHandler DpiChanged<DisplayInformation, object>
Public Event TypedEventHandler DpiChanged(Of DisplayInformation, object)
function onDpiChanged(eventArgs){/* Your code */}


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