Bewerken

Delen via


ItemAutomationPeer.IsOffscreenCore Method

Definition

Gets a value that indicates whether the specified UIElement is off the screen.

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

Returns

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

Remarks

The UIElement corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. This method is called by IsOffscreen.

This method 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