Class DpiAwareForm
This is a DPI-Aware Form, making DPI support very easy: just extend your Form from this
Inheritance
System.Object
DpiAwareForm
Namespace: Dapplo.Windows.Dpi.Forms
Assembly: Dapplo.Windows.Dpi.dll
Syntax
public class DpiAwareForm : Form
Properties
| Improve this Doc View SourceDpiHandler
The DpiHandler used for this form
Declaration
protected DpiHandler DpiHandler { get; }
Property Value
Type | Description |
---|---|
DpiHandler |
Methods
| Improve this Doc View SourceWndProc(ref Message)
Override the WndProc to make sure the DpiHandler is informed of the WM_NCCREATE message
Declaration
protected override void WndProc(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
Message | m | Message |