DisplayArea 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 area of a display in which a view is able to be shown to a user.
public ref class DisplayArea sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DisplayArea final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DisplayArea
Public NotInheritable Class DisplayArea
- Inheritance
- Attributes
Properties
DisplayId |
Gets the identifier for the display associated with the |
IsPrimary |
Gets a value that indicates whether the |
OuterBounds |
Gets a rectangle that describes the bounds of the |
Primary |
Gets the primary |
WorkArea |
Gets the rectangle of the work area of the |
Methods
CreateWatcher() |
Creates a |
FindAll() |
Retrieves a list of all display areas currently present in the system. |
GetFromDisplayId(DisplayId) |
Gets the |
GetFromPoint(PointInt32, DisplayAreaFallback) |
Gets the |
GetFromRect(RectInt32, DisplayAreaFallback) |
Gets the |
GetFromWindowId(WindowId, DisplayAreaFallback) |
Gets the |