AutomationPeer.IsOffscreen Method


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

 bool IsOffscreen();
public bool IsOffscreen ();
member this.IsOffscreen : unit -> bool
Public Function IsOffscreen () As Boolean


true if the element is not on the screen; otherwise, false.


A public call to this method is currently in progress.


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.

Applies to

See also