-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
VisualTreeTestHelper
-
Methods
-
MatchesStructure(Visual, Type[])
MatchesStructure(Visual, Type[]) Method
Definition
Checks if the tree structure matches expected types at each level.
public static bool MatchesStructure(this Visual visual, params Type[] expectedPath)
Parameters
- expectedPath
- Type[]
The expected types from this visual downward.
Returns
- Boolean
- True if the tree structure matches.