mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-04-02 11:40:40 +08:00
1.3 KiB
1.3 KiB
BaseForm
Basic native window supporting DPI
Properties
| Name | Description | Type | Default Value |
|---|---|---|---|
| AutoHandDpi | Auto process DPI enable | bool | true |
| Dark | Dark Mode | bool | false |
| Mode | Color mode | TAMode | Auto |
| IsMax | Whether it is maximized | bool | false |
| DisableTheme | Whether to disable theme | bool | false |
| IsFull | Whether it is full screen | bool | false |
Methods
| Name | Description | Return Value | Parameters |
|---|---|---|---|
| Min | Minimize | void | |
| Max | Maximize | void | |
| MaxRestore | Maximize/Restore | bool | |
| Full | Full screen | void | |
| NoFull | Cancel full screen | void | |
| FullRestore | Full screen/Restore | bool | |
| Dpi | Get DPI | float | |
| AutoDpi | DPI Scaling | void | Control control |
| AutoDpi | DPI Scaling | void | float dpi, Control control |
| Theme | Get theme configuration | ThemeConfig | |
| ThemeClear | Clear theme configuration | void | |
| DraggableMouseDown | Drag window | void | |
| ResizableMouseDown | Adjust window size (mouse press) | bool | |
| ResizableMouseMove | Adjust window size (mouse movement) | bool |