編輯

共用方式為


UIElementAutomationPeer.IsOffscreenCore Method

Definition

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer 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 on the screen but obscured by other elements, it might not be visible. In this case the method returns false.

Applies to