다음을 통해 공유


DisplayInfo 구조체

정의

디바이스의 화면에 대한 정보를 나타냅니다.

public value class DisplayInfo : IEquatable<Microsoft::Maui::Devices::DisplayInfo>
public readonly struct DisplayInfo : IEquatable<Microsoft.Maui.Devices.DisplayInfo>
type DisplayInfo = struct
Public Structure DisplayInfo
Implements IEquatable(Of DisplayInfo)
상속
DisplayInfo
구현

생성자

DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation)

DisplayInfo 클래스의 새 인스턴스를 초기화합니다.

DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation, Single)

DisplayInfo 클래스의 새 인스턴스를 초기화합니다.

속성

Density

화면 밀도를 나타내는 값을 가져옵니다.

Height

현재 Orientation의 화면 높이(픽셀)를 가져옵니다.

Orientation

디바이스 디스플레이의 방향을 가져옵니다.

RefreshRate

디바이스 디스플레이의 새로 고침 빈도(Hertz)를 가져옵니다.

Rotation

디바이스 디스플레이의 방향을 가져옵니다.

Width

현재 Orientation의 화면 너비(픽셀)를 가져옵니다.

메서드

Equals(DisplayInfo)

기본 인스턴스를 DisplayInfo 비교합니다.

Equals(Object)

다른 개체와 같으면 입니다.

GetHashCode()

이 표시 정보 instance 대한 해시 코드를 가져옵니다.

ToString()

이 표시 정보 instance 현재 값의 문자열 표현을 반환합니다.

연산자

Equality(DisplayInfo, DisplayInfo)

같음 연산자입니다.

Inequality(DisplayInfo, DisplayInfo)

같지 않음 연산자입니다.

적용 대상