Method CreateManipulator
CreateManipulator(ICollection<VisualElement>, VisualElement, TypeSearch, bool, Action<bool>)
Creates aPseudoClassManipulatorto handle various events.
Declaration
protected virtual PseudoClassManipulator CreateManipulator(ICollection<VisualElement> roots, VisualElement visualElement, UIToolkitComponent.TypeSearch searchFrom, bool initCheckValue, Action<bool> validate)
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). |
bool | initCheckValue | Init check value of thePseudoClassManipulator. |
Action<bool> | validate | Method invoked to specify whether or not the event call validates the pseudo class associated withVisualElement. |
Returns
Type |
---|
PseudoClassManipulator |