MVPSI.JAMS Namespace > EditSourceDialog Class : DpiChanged Event |
'Declaration
<SRCategoryAttribute("Layout")> <SRDescriptionAttribute("Occurs when form is moved to a monitor with a different resolution and scaling level, or when form's monitor scaling level is changed in the Windows settings.")> Public Event DpiChanged As System.Windows.Forms.DpiChangedEventHandler
'Usage
Dim instance As EditSourceDialog Dim handler As System.Windows.Forms.DpiChangedEventHandler AddHandler instance.DpiChanged, handler
[SRCategory("Layout")] [SRDescription("Occurs when form is moved to a monitor with a different resolution and scaling level, or when form's monitor scaling level is changed in the Windows settings.")] public event System.Windows.Forms.DpiChangedEventHandler DpiChanged
The event handler receives an argument of type System.Windows.Forms.DpiChangedEventArgs containing data related to this event. The following DpiChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
DeviceDpiNew | |
DeviceDpiOld | |
SuggestedRectangle |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2