Dela via


DisplayRegion.WorkAreaSize Property

Definition

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.

Applies to