DisplayInfo Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation) |
Inicjuje nowe wystąpienie klasy DisplayInfo. |
DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation, Single) |
Inicjuje nowe wystąpienie klasy DisplayInfo. |
DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation)
- Źródło:
- DisplayInfo.shared.cs
- Źródło:
- DisplayInfo.shared.cs
Inicjuje nowe wystąpienie klasy 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)
Parametry
- width
- Double
Szerokość ekranu.
- height
- Double
Wysokość wyświetlacza.
- density
- Double
Gęstość ekranu.
- orientation
- DisplayOrientation
Bieżąca orientacja.
- rotation
- DisplayRotation
Obrót urządzenia.
Dotyczy
DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation, Single)
- Źródło:
- DisplayInfo.shared.cs
- Źródło:
- DisplayInfo.shared.cs
Inicjuje nowe wystąpienie klasy 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)
Parametry
- width
- Double
Szerokość ekranu.
- height
- Double
Wysokość wyświetlacza.
- density
- Double
Gęstość ekranu.
- orientation
- DisplayOrientation
Bieżąca orientacja.
- rotation
- DisplayRotation
Obrót urządzenia.
- rate
- Single
Częstotliwość odświeżania ekranu.