DisplaySource 클래스

정의

소유자가 프레임을 표시할 수 있도록 원본의 소유권을 제공합니다.

public ref class DisplaySource sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DisplaySource final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DisplaySource
Public NotInheritable Class DisplaySource
상속
Object Platform::Object IInspectable DisplaySource
특성

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1809 (10.0.17763.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v7.0에서 도입되었습니다.)

속성

AdapterId

DisplaySource와 연결된 어댑터 ID를 가져옵니다.

SourceId

이 원본의 어댑터 상대 식별자를 가져옵니다.

Status

DisplaySource에 대한 현재 상태 가져옵니다.

DisplaySource.StatusChanged 이벤트를 사용하여 상태 변경된 시기를 확인할 수 있습니다.

메서드

GetMetadata(Guid)

원본에서 동적 메타데이터를 검색합니다.

이벤트

StatusChanged

DisplaySource.Status 속성의 값이 변경될 때 발생하는 이벤트입니다. DisplaySource 상태 대한 지식은 시스템 상태 전환에 대한 가시성을 제공하고 이러한 상태 변경을 처리할 수 있는 기회를 제공합니다.

적용 대상