DpiChangedEventArgs Class

Definition

Provides data for the DPIChanged events of a form or control.

public sealed class DpiChangedEventArgs : System.ComponentModel.CancelEventArgs
Inheritance
DpiChangedEventArgs

Properties

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.

Methods

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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Creates and returns a string representation of the current DpiChangedEventArgs.

Applies to

Produto Versões
.NET Framework 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9