Partilhar via


HwndSource.OnDpiChanged(HwndDpiChangedEventArgs) Método

Definição

Chamado quando o DPI for alterado para a janela.

protected:
 virtual void OnDpiChanged(System::Windows::HwndDpiChangedEventArgs ^ e);
[System.Security.SecurityCritical]
protected virtual void OnDpiChanged (System.Windows.HwndDpiChangedEventArgs e);
protected virtual void OnDpiChanged (System.Windows.HwndDpiChangedEventArgs e);
[<System.Security.SecurityCritical>]
abstract member OnDpiChanged : System.Windows.HwndDpiChangedEventArgs -> unit
override this.OnDpiChanged : System.Windows.HwndDpiChangedEventArgs -> unit
abstract member OnDpiChanged : System.Windows.HwndDpiChangedEventArgs -> unit
override this.OnDpiChanged : System.Windows.HwndDpiChangedEventArgs -> unit
Protected Overridable Sub OnDpiChanged (e As HwndDpiChangedEventArgs)

Parâmetros

e
HwndDpiChangedEventArgs

Os argumentos de evento.

Atributos

Comentários

Se o usuário manipular esse evento, o WPF não dimensiona nenhum visual.

Importante

Esse método acessa dados HwndTargetcríticos.

Aplica-se a