次の方法で共有


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()

この表示情報インスタンスのハッシュ コードを取得します。

ToString()

この表示情報インスタンスの現在の値の文字列表現を返します。

演算子

Equality(DisplayInfo, DisplayInfo)

等号の等値演算子。

Inequality(DisplayInfo, DisplayInfo)

非等値演算子。

適用対象