ScreenFromBounds Method
Retrieves a Screen for the display that contains the rectangle.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public Screen? ScreenFromBounds(
PixelRect bounds
)
Public Function ScreenFromBounds (
bounds As PixelRect
) As Screen
member ScreenFromBounds :
bounds : PixelRect -> Screen
Parameters
- PixelRect
- Bounds that specifies the area for which to retrieve the display.
Return Value
Remarks
On mobile, this method always returns null.