แก้ไข

แชร์ผ่าน


AutomationPeer.IsOffscreen Method

Definition

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.

Applies to

See also