Constructor PseudoClassManipulator
PseudoClassManipulator(PseudoClass, ICollection<VisualElement>, TypeSearch, bool, Action<bool>)
Declaration
public PseudoClassManipulator(PseudoClass pseudoClass, ICollection<VisualElement> roots, UIToolkitComponent.TypeSearch searchFrom, bool initCheckValue, Action<bool> validate)
Parameters
Type | Name | Description |
---|---|---|
PseudoClass | pseudoClass | The pseudo-class associated to this manipulator. |
ICollection<VisualElement> | roots | List ofVisualElementwhere the targetedVisualElementcome from. |
UIToolkitComponent.TypeSearch | searchFrom | Targets children from the parent's container (indirect) or via the hierarchy (direct). |
bool | initCheckValue | InitCheckvalue. |
Action<bool> | validate | Method invoked to specify whether or not the event call validates the pseudo class associated withVisualElement. |