Table of Contents

Method RaiseDpiChanged

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

RaiseDpiChanged(bool)

Notifies control and optionally it's child controls about dpi changes.

public void RaiseDpiChanged(bool recursive)

Parameters

recursive bool

Whether to notify child controls.

RaiseDpiChanged(SizeI?, SizeI?)

public void RaiseDpiChanged(SizeI? dpiOld = null, SizeI? dpiNew = null)

Parameters

dpiOld SizeI?

Old dpi value

dpiNew SizeI?

New dpi value

RaiseDpiChanged(DpiChangedEventArgs)

Raises the DpiChanged event and OnDpiChanged(DpiChangedEventArgs) method.

public void RaiseDpiChanged(DpiChangedEventArgs e)

Parameters

e DpiChangedEventArgs

The DpiChangedEventArgs that contains the event data.