DisplayRegion Class
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.
Represents the region in which a view is able to be shown to a user on a logical display.
public ref class DisplayRegion sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DisplayRegion final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DisplayRegion
Public NotInheritable Class DisplayRegion
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|
Properties
DisplayMonitorDeviceId |
Gets the device ID for the monitor associated with the display region. |
IsVisible |
Gets a value that indicates whether the display region can be seen. |
WindowingEnvironment |
Gets the windowing environment that this display region exists in. |
WorkAreaOffset |
Gets the offset within the display coordinate space for this DisplayRegion. |
WorkAreaSize |
Gets the width and height of the display region. |
Events
Changed |
Occurs when a property of the display region has changed. |