Constructor SelectorPseudoClassManipulator
SelectorPseudoClassManipulator(PseudoClass, ICollection<VisualElement>, TypeSearch, bool, Action<bool>, Selector, TypeTarget)
Declaration
public SelectorPseudoClassManipulator(PseudoClass pseudoClass, ICollection<VisualElement> roots, UIToolkitComponent.TypeSearch searchFrom, bool initCheckValue, Action<bool> validate, Selector selector, UIToolkitComponent.TypeTarget target)
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 | Init check value. |
Action<bool> | validate | Method invoked to specify whether or not the event call validates the pseudo class associated withVisualElement. |
Selector | selector | |
UIToolkitComponent.TypeTarget | target | Target the first, last or all active elements. |