DisplayAreaWatcher クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
表示領域を列挙し、表示領域のコレクションまたは個々の DisplayArea の構成が変更されたときにイベントを発生させます。
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
- 継承
- 属性
注釈
DisplayAreaWatcherを作成するには、DisplayArea.CreateWatcher を呼び出します。 UI スレッドで DisplayAreaWatcher を作成する必要があります。
プロパティ
| 名前 | 説明 |
|---|---|
| Status |
|
メソッド
| 名前 | 説明 |
|---|---|
| Start() |
|
| Stop() |
|
イベント
| 名前 | 説明 |
|---|---|
| Added |
|
| EnumerationCompleted |
監視イベントの最初のパスが処理され、表示領域のコレクションが完了したときに発生します。 |
| Removed |
|
| Stopped |
|
| Updated |
|