DisplayAreaWatcher 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.
Enumerates display areas and raises events when the collection of display areas or the configuration of an individual DisplayArea
changes.
public ref class DisplayAreaWatcher sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DisplayAreaWatcher final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DisplayAreaWatcher
Public NotInheritable Class DisplayAreaWatcher
- Inheritance
- Attributes
Remarks
To create a DisplayAreaWatcher
, call DisplayArea.CreateWatcher. You must create the DisplayAreaWatcher
on a UI thread.
Properties
Status |
Gets the status of the |
Methods
Start() |
Starts the |
Stop() |
Stops the |
Events
Added |
Occurs when a |
EnumerationCompleted |
Occurs when the initial pass of watcher events has been processed and the collection of display areas is complete. |
Removed |
Occurs when a |
Stopped |
Occurs when the |
Updated |
Occurs when the configuration of a |