DisplayInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation) |
Main constructor for Display Information |
DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation, Single) |
Main constructor for Display Information |
DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation)
Main constructor for Display Information
public DisplayInfo (double width, double height, double density, Xamarin.Essentials.DisplayOrientation orientation, Xamarin.Essentials.DisplayRotation rotation);
Parameters
- width
- System.Double
The width of the display
- height
- System.Double
The height of the display
- density
- System.Double
The screen density
- orientation
- DisplayOrientation
The current orientation
- rotation
- DisplayRotation
The rotation of the device.
Applies to
DisplayInfo(Double, Double, Double, DisplayOrientation, DisplayRotation, Single)
Main constructor for Display Information
public DisplayInfo (double width, double height, double density, Xamarin.Essentials.DisplayOrientation orientation, Xamarin.Essentials.DisplayRotation rotation, float rate);
Parameters
- width
- System.Double
The width of the display
- height
- System.Double
The height of the display
- density
- System.Double
The screen density
- orientation
- DisplayOrientation
The current orientation
- rotation
- DisplayRotation
The rotation of the device.
- rate
- System.Single
The refresh rate of the display.