AutomationPeer.IsOffscreen Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether an element is off the screen.
public:
bool IsOffscreen();
public bool IsOffscreen ();
member this.IsOffscreen : unit -> bool
Public Function IsOffscreen () As Boolean
Returns
true
if the element is not on the screen; otherwise, false
.
Exceptions
A public call to this method is currently in progress.
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
.