Compartir a través de


DisplayInfo Constructores

Definición

Sobrecargas

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

Inicializa una nueva instancia de la clase DisplayInfo.

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

Inicializa una nueva instancia de la clase DisplayInfo.

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

Source:
DisplayInfo.shared.cs
Source:
DisplayInfo.shared.cs

Inicializa una nueva instancia de la clase DisplayInfo.

public:
 DisplayInfo(double width, double height, double density, Microsoft::Maui::Devices::DisplayOrientation orientation, Microsoft::Maui::Devices::DisplayRotation rotation);
public DisplayInfo (double width, double height, double density, Microsoft.Maui.Devices.DisplayOrientation orientation, Microsoft.Maui.Devices.DisplayRotation rotation);
new Microsoft.Maui.Devices.DisplayInfo : double * double * double * Microsoft.Maui.Devices.DisplayOrientation * Microsoft.Maui.Devices.DisplayRotation -> Microsoft.Maui.Devices.DisplayInfo
Public Sub New (width As Double, height As Double, density As Double, orientation As DisplayOrientation, rotation As DisplayRotation)

Parámetros

width
Double

Ancho de la pantalla.

height
Double

Alto de la pantalla.

density
Double

Densidad de pantalla.

orientation
DisplayOrientation

Orientación actual.

rotation
DisplayRotation

Rotación del dispositivo.

Se aplica a

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

Source:
DisplayInfo.shared.cs
Source:
DisplayInfo.shared.cs

Inicializa una nueva instancia de la clase DisplayInfo.

public:
 DisplayInfo(double width, double height, double density, Microsoft::Maui::Devices::DisplayOrientation orientation, Microsoft::Maui::Devices::DisplayRotation rotation, float rate);
public DisplayInfo (double width, double height, double density, Microsoft.Maui.Devices.DisplayOrientation orientation, Microsoft.Maui.Devices.DisplayRotation rotation, float rate);
new Microsoft.Maui.Devices.DisplayInfo : double * double * double * Microsoft.Maui.Devices.DisplayOrientation * Microsoft.Maui.Devices.DisplayRotation * single -> Microsoft.Maui.Devices.DisplayInfo
Public Sub New (width As Double, height As Double, density As Double, orientation As DisplayOrientation, rotation As DisplayRotation, rate As Single)

Parámetros

width
Double

Ancho de la pantalla.

height
Double

Alto de la pantalla.

density
Double

Densidad de pantalla.

orientation
DisplayOrientation

Orientación actual.

rotation
DisplayRotation

Rotación del dispositivo.

rate
Single

Frecuencia de actualización de la pantalla.

Se aplica a