DisplayRegion.WorkAreaSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the width and height of the display region.
public:
property Size WorkAreaSize { Size get(); };
Size WorkAreaSize();
public Size WorkAreaSize { get; }
var size = displayRegion.workAreaSize;
Public ReadOnly Property WorkAreaSize As Size
Property Value
The width and height of the display region.
Remarks
The Size of a DisplayRegion is not necessarily mapped 1:1 with the physical display that it is on. The Size is the area that the system allows the app to be present or resized within. The size can dynamically change over the span of the apps lifetime due to changes in the system configuration.