DisplayInfo Struct

Definition

Represents information about the screen.

[System.Runtime.CompilerServices.IsReadOnly]
public struct DisplayInfo : IEquatable<Xamarin.Essentials.DisplayInfo>
Inheritance
DisplayInfo
Attributes
Implements

Remarks

Constructors

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

Main constructor for Display Information

Properties

Density

Gets a value representing the screen density.

Height

Gets the height of the screen for the current orientation.

Orientation

Gets the orientation of the device.

Rotation

Gets the rotation from the designated orientation.

Width

Gets the width of the scrreen for the current orientation.

Methods

Equals(Object)

If equal to another object.

Equals(DisplayInfo)

If equal to another object.

GetHashCode()

Gets the hash code for object.

ToString()

String representation of information.

Operators

Equality(DisplayInfo, DisplayInfo)

If equal to another object.

Inequality(DisplayInfo, DisplayInfo)

If not equal to another object.

Applies to