DeviceScaleChangeEventArgs Class

Represents the event data for the DeviceScaleChanging and DeviceScaleChanged events.

Definition

Namespace: KGySoft.WinForms.Forms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public sealed class DeviceScaleChangeEventArgs : EventArgs
Inheritance
Object    EventArgs    DeviceScaleChangeEventArgs

Properties

NewScale Gets the new scale factor.
PreviousScale Gets the previous scale factor.
SuggestedBounds Gets the suggested bounds of the form after scaling. It may return an empty rectangle if the event is raised before the form is shown, or when the form is an MDI child.

See Also