Method Check
Check(PseudoClassManipulator)
Checks if thePseudoClassManipulatoris valid according to the rules of the current pseudo-class.
Declaration
public virtual bool Check(PseudoClassManipulator manipulator)Parameters
| Type | Name | Description |
|---|---|---|
| PseudoClassManipulator | manipulator | TargetedPseudoClassManipulator. |
Returns
| Type |
|---|
| bool |
Check(ICollection<VisualElement>, VisualElement, TypeSearch)
Checks if theVisualElementis valid according to the rules of the current pseudo-class.
Declaration
public abstract bool Check(ICollection<VisualElement> roots, VisualElement visualElement, UIToolkitComponent.TypeSearch searchFrom)Parameters
| Type | Name | Description |
|---|---|---|
| ICollection<VisualElement> | roots | List ofVisualElementwhere the targetedVisualElementcome from. |
| VisualElement | visualElement | TargetedVisualElement. |
| UIToolkitComponent.TypeSearch | searchFrom | Targets children from the parent's container (indirect) or via the hierarchy (direct). |
Returns
| Type |
|---|
| bool |
