DisplayAreaWatcher 클래스

정의

표시 영역의 컬렉션 또는 개별 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
상속
Object Platform::Object IInspectable DisplayAreaWatcher
특성

설명

DisplayAreaWatcher만들려면 DisplayArea.CreateWatcher를 호출합니다. UI 스레드에서 를 만들어야 DisplayAreaWatcher 합니다.

속성

Status

의 상태 가져옵니다DisplayAreaWatcher.

메서드

Start()

DisplayAreaWatcher를 시작합니다.

Stop()

DisplayAreaWatcher를 중지합니다.

이벤트

Added

에서 반환DisplayArea.FindAllDisplayArea 표시 영역의 컬렉션에 가 추가되면 발생합니다.

EnumerationCompleted

감시자 이벤트의 초기 패스가 처리되고 표시 영역의 컬렉션이 완료될 때 발생합니다.

Removed

에서 반환DisplayArea.FindAll된 컬렉션에서 가 제거될 때 DisplayArea 발생합니다.

Stopped

가 중지되었을 때 DisplayAreaWatcher 발생합니다.

Updated

DisplayArea 구성이 변경되면 발생합니다.

적용 대상

추가 정보