DpiChangedEventArgs Class
Provides data for the DPIChanged events of a form or control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
System::EventArgs
System.ComponentModel::CancelEventArgs
System.Windows.Forms::DpiChangedEventArgs
| Name | Description | |
|---|---|---|
![]() | Cancel | Gets or sets a value indicating whether the event should be canceled.(Inherited from CancelEventArgs.) |
![]() | DeviceDpiNew | Gets the DPI value for the new display device where the control or form is currently being displayed. |
![]() | DeviceDpiOld | Gets the DPI value for the display device where the control or form was previously displayed. |
![]() | SuggestedRectangle | Gets a Rectangle that represents the new bounding rectangle for the control or form based on the DPI of the display device where it's displayed. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Creates and returns a string representation of the current DpiChangedEventArgs.(Overrides Object::ToString().) |
Available since 4.7
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

