Editar

DpiChangedEventArgs Class

Definition

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
DpiChangedEventArgs

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.

Applies to