DpiChangedEventArgs Class
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.
Provides data for the DPIChanged events of a form or control.
public ref class DpiChangedEventArgs sealed : System::ComponentModel::CancelEventArgs
public sealed class DpiChangedEventArgs : System.ComponentModel.CancelEventArgs
type DpiChangedEventArgs = class
inherit CancelEventArgs
Public NotInheritable Class DpiChangedEventArgs
Inherits CancelEventArgs
- Inheritance
Properties
| Name | Description |
|---|---|
| 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. |
Methods
| Name | Description |
|---|---|
| ToString() |
Creates and returns a string representation of the current DpiChangedEventArgs. |