Home
Home
Docs
API
Theme
System
Light
Dark
GitHub
Menu
Loading menu…
Home
API
Avalonia.HeadlessTestingFramework
TreeValidator
Methods
ForbidType
()
Menu
On this page
ForbidType
() Method
Definition
Namespace
Avalonia.HeadlessTestingFramework
Assembly
HeadlessTestingFramework.dll
View source
Forbids a specific type from existing.
public TreeValidator ForbidType<T>() where T : class
Type parameters
T
The control type.
Returns
TreeValidator
This validator for chaining.