Miner.Mobile.Common.Controls Namespace > MessageBox Class : DpiChanged Event |
'Declaration
Public Event DpiChanged As System.Windows.DpiChangedEventHandler
'Usage
Dim instance As MessageBox Dim handler As System.Windows.DpiChangedEventHandler AddHandler instance.DpiChanged, handler
public event System.Windows.DpiChangedEventHandler DpiChanged
public event DpiChanged: System.Windows.DpiChangedEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.DpiChangedEventHandler* DpiChanged
public: event System.Windows.DpiChangedEventHandler^ DpiChanged
The event handler receives an argument of type System.Windows.DpiChangedEventArgs containing data related to this event. The following DpiChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
NewDpi | |
OldDpi | |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
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