Table of Contents

Class DpiChangedEventArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Provides data for the DPI changed events of a form or control.

public sealed class DpiChangedEventArgs : BaseCancelEventArgs
Inheritance
DpiChangedEventArgs

Constructors

DpiChangedEventArgs(SizeI, SizeI)

Initializes a new instance of the DpiChangedEventArgs class.

Properties

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.

DpiNew

Gets or sets new DPI value.

DpiOld

Gets or sets old DPI value.

Methods

ToString()

Creates and returns a string representation of the current DpiChangedEventArgs.