Redigeeri

Jagamisviis:


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

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