WinApiHelper.

GetMonitorWorkSize(Visual) Method

Summary

Get the working area size of the monitor from where the visual stays.
Namespace
MahApps.Metro.Controls
Containing Type
WinApiHelper

Syntax

public static Size GetMonitorWorkSize(this Visual visual)

Parameters

Name Type Description
visual Visual The visual element to get the monitor information.

Return Value

Type Description
Size The working area size of the monitor.