DocumentAutomationPeer.IsOffscreenCore Method

Definition

Gets a value that indicates whether the FrameworkContentElement that is associated with this DocumentAutomationPeer is off the screen. This method is called by IsOffscreen().

protected:
 override bool IsOffscreenCore();
protected override bool IsOffscreenCore ();
override this.IsOffscreenCore : unit -> bool
Protected Overrides Function IsOffscreenCore () As Boolean

Returns

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

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 obscured by other elements, it might not be visible. In this case, the method returns false.

Applies to

See also