StalenessOf(AvaloniaElement) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element is no longer attached to the visual tree.

public static Func<AvaloniaDriver, bool> StalenessOf(AvaloniaElement element)

Parameters

element
AvaloniaElement

The element to check.

Returns

Func<AvaloniaDriver, Boolean>
True when the element is stale.