ScreensScreenFromBounds Method
Retrieves a Screen for the display that contains the rectangle.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Screen? ScreenFromBounds(
PixelRect bounds
)
Public Function ScreenFromBounds (
bounds As PixelRect
) As Screen
member ScreenFromBounds :
bounds : PixelRect -> Screen
- bounds PixelRect
- Bounds that specifies the area for which to retrieve the display.
ScreenThe
Screen.
On mobile, this method always returns null.