DisplayInfo Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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.