Skip to main content

IsOffscreen Method

Gets a value that indicates whether an element is off the screen.

Definition​

Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public bool IsOffscreen()

Return Value​

Boolean

Remarks​

This property does not indicate whether the element is visible. In some circumstances, an element is on the screen but is still not visible. For example, if the element is on the screen but obscured by other elements, it might not be visible. In this case, the method returns false.

WindowsUIA_IsOffscreenPropertyId
macOSNo mapping.

See Also​

Reference​

AutomationPeer Class
Avalonia.Automation.Peers Namespace