ScreensRequestScreenDetails Method

Asks underlying platform to provide detailed screen information. On some platforms it might include non-primary screens, as well as display names.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Task<bool> RequestScreenDetails()

Return Value

TaskBoolean
True, if detailed screen information was provided. False, if denied by the platform or user.

Remarks

This method is async and might show a dialog to the user asking for a permission.

See Also