DpiChangedEventArgs DpiChangedEventArgs DpiChangedEventArgs 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

Properties

Cancel Cancel Cancel Cancel

Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
DeviceDpiNew DeviceDpiNew DeviceDpiNew DeviceDpiNew

Gets the DPI value for the new display device where the control or form is currently being displayed.

DeviceDpiOld DeviceDpiOld DeviceDpiOld DeviceDpiOld

Gets the DPI value for the display device where the control or form was previously displayed.

SuggestedRectangle SuggestedRectangle SuggestedRectangle 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) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Creates and returns a string representation of the current DpiChangedEventArgs.

Applies to