HeaderPane
Main
Hide
Share Link
Print

DPIChanged Event, SftButton Object

The control moved to a monitor with a different DPI (per-monitor-v2 hosts).

Syntax

C#void object_DPIChanged(object sender, EventArgumentType e);
VB.NETPrivate Sub object_DPIChanged(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.DPIChanged
C++void OnDPIChangedobject(long DPI);
CHRESULT OnDPIChangedobject(long DPI);
VBPrivate Sub object_DPIChanged(ByVal DPI As Long)

object

A SftButton object.

DPI

The new effective DPI for the control's monitor.

Comments

The DPIChanged event occurs on a per-monitor DPI-aware host when the control moves to a monitor with a different DPI or the system DPI changes. Use DPI to query the current value at any time.

See Also SftButton Object | Object Hierarchy | Per-Monitor DPI and Scaling


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.