Table of Contents

Interface IScreenImpl

Namespace
Avalonia.Platform
Assembly
Avalonia.Controls.dll
[Unstable]
public interface IScreenImpl

Properties

AllScreens

IReadOnlyList<Screen> AllScreens { get; }

Property Value

IReadOnlyList<Screen>

Changed

Action? Changed { get; set; }

Property Value

Action

ScreenCount

int ScreenCount { get; }

Property Value

int

Methods

RequestScreenDetails()

Task<bool> RequestScreenDetails()

Returns

Task<bool>

ScreenFromPoint(PixelPoint)

Screen? ScreenFromPoint(PixelPoint point)

Parameters

point PixelPoint

Returns

Screen

ScreenFromRect(PixelRect)

Screen? ScreenFromRect(PixelRect rect)

Parameters

rect PixelRect

Returns

Screen

ScreenFromTopLevel(ITopLevelImpl)

Screen? ScreenFromTopLevel(ITopLevelImpl topLevel)

Parameters

topLevel ITopLevelImpl

Returns

Screen

ScreenFromWindow(IWindowBaseImpl)

Screen? ScreenFromWindow(IWindowBaseImpl window)

Parameters

window IWindowBaseImpl

Returns

Screen