HwndSource.OnDpiChanged(HwndDpiChangedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the DPI is going to change for the window.
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)
Parameters
The event arguments.
- Attributes
Remarks
If the user handles this event, WPF does not scale any visuals.
Important
This method accesses critical data HwndTarget.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.