Share via


DisplayArea 클래스

정의

사용자에게 보기를 표시할 수 있는 디스플레이 영역을 나타냅니다.

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
상속
Object Platform::Object IInspectable DisplayArea
특성

속성

DisplayId

와 연결된 DisplayArea디스플레이의 식별자를 가져옵니다.

IsPrimary

가 기본 모니터에 있는지 여부를 DisplayArea 나타내는 값을 가져옵니다.

OuterBounds

X,Y 오프셋이 화면 좌표 공간 내에 있는 의 DisplayArea범위를 설명하는 사각형을 가져옵니다.

Primary

데스크톱의 기본 DisplayArea 을 가져옵니다.

WorkArea

X,Y 오프셋이 표시 영역 DisplayArea의 범위 내에 있는 의 작업 영역 사각형을 가져옵니다.

메서드

CreateWatcher()

DisplayAreaWatcher 또는 표시 영역의 컬렉션이 변경된 경우 DisplayArea 알림을 표시하는 을 만듭니다.

FindAll()

현재 시스템에 있는 모든 표시 영역의 목록을 검색합니다.

GetFromDisplayId(DisplayId)

지정된 DisplayArea에 대한 DisplayId를 가져옵니다

GetFromPoint(PointInt32, DisplayAreaFallback)

지정된 PointDisplayArea 있는 위치를 가져옵니다.

GetFromRect(RectInt32, DisplayAreaFallback)

DisplayArea 지정된 사각형이 있는 위치를 가져옵니다.

GetFromWindowId(WindowId, DisplayAreaFallback)

지정된 DisplayArea에 대한 WindowId를 가져옵니다

적용 대상