DpiChangedEventArgs DpiChangedEventArgs DpiChangedEventArgs DpiChangedEventArgs Class

定义

为窗体或控件的 DPIChanged 事件提供数据。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
继承

属性

Cancel Cancel Cancel Cancel

获取或设置指示是否应取消事件的值。Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
DeviceDpiNew DeviceDpiNew DeviceDpiNew DeviceDpiNew

获取显示当前控件或窗体的新显示设备的 DPI 值。Gets the DPI value for the new display device where the control or form is currently being displayed.

DeviceDpiOld DeviceDpiOld DeviceDpiOld DeviceDpiOld

获取以前显示控件或窗体的显示设备的 DPI 值。Gets the DPI value for the display device where the control or form was previously displayed.

SuggestedRectangle SuggestedRectangle SuggestedRectangle SuggestedRectangle

获取 Rectangle,该值表示控件或窗体(基于显示设备的显示位置的 DPI)的新边框。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.

方法

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

获取当前实例的 TypeGets the Type of the current instance.

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

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

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

创建并返回当前 DpiChangedEventArgs 的字符串表示形式。Creates and returns a string representation of the current DpiChangedEventArgs.

适用于