DisplayInfo Structure

Définition

Représente des informations sur l’écran.

public struct DisplayInfo : IEquatable<Xamarin.Essentials.DisplayInfo>
[System.Runtime.CompilerServices.IsReadOnly]
public struct DisplayInfo : IEquatable<Xamarin.Essentials.DisplayInfo>
Héritage
System.ValueType
DisplayInfo
Attributs
System.Runtime.CompilerServices.IsReadOnlyAttribute
Implémente
System.IEquatable<DisplayInfo>

Constructeurs

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

Constructeur principal pour les informations d’affichage

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

Constructeur principal pour les informations d’affichage

Propriétés

Nom Description
Density

Obtient une valeur représentant la densité de l’écran.

Height

Obtient la hauteur de l’écran pour l’orientation actuelle.

Orientation

Obtient l’orientation de l’appareil.

RefreshRate

Obtient le taux d’actualisation de l’affichage.

Rotation

Obtient la rotation de l’orientation désignée.

Width

Obtient la largeur du scrreen pour l’orientation actuelle.

Méthodes

Nom Description
Equals(DisplayInfo)

S’il est égal à un autre objet.

Equals(Object)

S’il est égal à un autre objet.

GetHashCode()

Obtient le code de hachage de l’objet.

ToString()

Représentation sous forme de chaîne d’informations.

Opérateurs

Nom Description
Equality(DisplayInfo, DisplayInfo)

S’il est égal à un autre objet.

Inequality(DisplayInfo, DisplayInfo)

S’il n’est pas égal à un autre objet.

S’applique à