MonitorInfo Class |
Namespace: Cauldron
public static class MonitorInfo
The MonitorInfo type exposes the following members.
Name | Description | |
---|---|---|
MonitorCount |
Gets the count of the monitor connected to the device
| |
PrimaryMonitorBounds |
Gets the bounds of the primary monitor
|
Name | Description | |
---|---|---|
GetCurrentOrientation |
Returns the orientation of the current view
| |
GetDpi |
Gets the dpi of the display. If the window is not on any monitor the primary monitor's
dpi is returned instead.
On Windows version lower than 8, the dpi is the same for all monitors.
| |
GetMonitorBounds |
Gets the bounds of the monitor that contains the defined window
| |
WindowIsInAnyMonitor |
Determines if the window is shown in any of the monitors.
| |
WmGetMinMaxInfo |
Sent to a window when the size or position of the window is about to change. An
application can use this message to override the window's default maximized size and
position, or its default minimum or maximum tracking size.
|