UI Toolkit ComponentUI Toolkit Component
UI Toolkit ComponentUI Toolkit Component
  • Docs
  • API
  • Changelog
  • Unity Asset Store
  • Bug report
  • SoyWar.UIToolkit
    • IUIToolkitEvent<TElement>
      • Count
      • SearchFrom
      • Selector
      • Target
    • Selector
      • AtIndex
      • AtLastIndex
      • Builder
      • Clone
      • Exists
      • Find
      • GetFirst
      • GetLast
      • Match
      • Parse
    • Selector.MatchCombinator
    • Selector.SelectorBuilder
      • AddClassNames
      • AddPseudoClass
      • AddSubSelector
      • Adjacent
      • Build
      • Children
      • Clone
      • Descendants
      • SetName
      • SetType
      • Siblings
      • Where
    • UIToolkitComponent
      • AddCustomStyles
      • Count
      • Document
      • ForceElementsUpdate
      • OverrideHost
      • RemoveCustomStyles
      • SearchFrom
      • Selector
      • SetSelectorFromText
      • Target
      • Validate
    • UIToolkitComponent.TypeSearch
    • UIToolkitComponent.TypeTarget
    • UIToolkitComponent<TElement>
      • GetEnumerator
      • OffEvent
      • OnEvent
      • Set
      • Unset
      • implicit operator
    • UIToolkitEnumerator<TElement>
      • Current
      • Dispose
      • MoveNext
  • SoyWar.UIToolkit.Editor.Component
    • BaseVerticalCollectionViewComponentEditor
    • ButtonComponentEditor
    • ListViewComponentEditor
    • TextComponentEditor
    • UIToolkitComponentEditor
      • AddEventTo
      • AddEventToFirstPosition
      • AddEventToLastPosition
      • EventCount
      • RemoveEvent
      • RemoveEventFrom
      • RemoveEventFromFirstPosition
      • RemoveEventFromLastPosition
    • ValueComponentEditor
  • SoyWar.UIToolkit.Editor.GameObject
    • BoundsFieldEditor
      • CreateGameObject
    • BoundsIntFieldEditor
      • CreateGameObject
    • ButtonEditor
      • CreateGameObject
    • DoubleFieldEditor
      • CreateGameObject
    • DropdownFieldEditor
      • CreateGameObject
    • EnumFieldEditor
      • CreateGameObject
    • FloatFieldEditor
      • CreateGameObject
    • FoldoutEditor
      • CreateGameObject
    • GroupBoxEditor
      • CreateGameObject
    • Hash128FieldEditor
      • CreateGameObject
    • IMGUIContainerEditor
      • CreateGameObject
    • IntegerFieldEditor
      • CreateGameObject
    • LabelEditor
      • CreateGameObject
    • ListViewEditor
      • CreateGameObject
    • LongFieldEditor
      • CreateGameObject
    • MinMaxSliderEditor
      • CreateGameObject
    • ProgressBarEditor
      • CreateGameObject
    • RadioButtonEditor
      • CreateGameObject
    • RadioButtonGroupEditor
      • CreateGameObject
    • RectFieldEditor
      • CreateGameObject
    • RectIntFieldEditor
      • CreateGameObject
    • ScrollViewEditor
      • CreateGameObject
    • ScrollerEditor
      • CreateGameObject
    • SliderEditor
      • CreateGameObject
    • SliderIntEditor
      • CreateGameObject
    • TemplateContainerEditor
      • CreateGameObject
    • TextFieldEditor
      • CreateGameObject
    • ToggleEditor
      • CreateGameObject
    • TreeViewEditor
      • CreateGameObject
    • UIToolkitGameObjectEditor<TComponent, TElement>
      • CreateGameObject
    • Vector2FieldEditor
      • CreateGameObject
    • Vector2IntFieldEditor
      • CreateGameObject
    • Vector3FieldEditor
      • CreateGameObject
    • Vector3IntFieldEditor
      • CreateGameObject
    • Vector4FieldEditor
      • CreateGameObject
    • VisualElementEditor
      • CreateGameObject
  • SoyWar.UIToolkit.Elements
    • BaseVerticalCollectionViewComponent<TElement>
      • ItemIndexChangedEvent
      • ItemsChosenEvent
      • ItemsSourceChangedEvent
      • SelectedIndicesChangedEvent
      • SelectionChangedEvent
    • BoundsFieldComponent
    • BoundsIntFieldComponent
    • ButtonComponent
      • CheckOnClickEvent
      • OnClick
      • OnClickEvent
    • ControlComponent<TElement, TValue>
      • CheckStateChangedEvent
      • OnStateChanged
      • OnStateChangedEvent
    • DoubleFieldComponent
    • DropdownFieldComponent
    • EnumFieldComponent
    • FloatFieldComponent
    • FoldoutComponent
    • GroupBoxComponent
    • Hash128FieldComponent
    • IMGUIContainerComponent
    • IntegerFieldComponent
    • LabelComponent
    • ListViewComponent
      • ItemsAddedEvent
      • ItemsRemovedEvent
    • LongFieldComponent
    • MinMaxSliderComponent
    • NotifyValueChangedComponent<TElement, TValue>
    • ProgressBarComponent
    • RadioButtonComponent
    • RadioButtonGroupComponent
    • RectFieldComponent
    • RectIntFieldComponent
    • ScrollViewComponent
    • ScrollerComponent
    • SliderComponent
    • SliderIntComponent
    • TemplateContainerComponent
    • TextComponent<TElement>
      • OnTextChangedEvent
      • SetText
    • TextFieldComponent
    • ToggleComponent
    • TreeViewComponent
    • ValueComponent<TElement, TValue>
      • OnValueChangedEvent
      • SetValue
    • Vector2FieldComponent
    • Vector2IntFieldComponent
    • Vector3FieldComponent
    • Vector3IntFieldComponent
    • Vector4FieldComponent
    • VisualElementComponent
  • SoyWar.UIToolkit.Events
    • AddClassNameEvent
    • AttachToVisualElementEvent
    • ClassNameChangedEventBase<T>
      • ClassName
      • GetPooled
    • DetachFromVisualElementEvent
    • HierarchyChangedEvent
    • HierarchyChangedEventBase<T>
      • GetPooled
      • Parent
    • NameChangedEvent
    • NameChangedEventBase<T>
      • GetPooled
      • NameChangedEventBase
      • NewValue
      • OldValue
    • RemoveClassNameEvent
    • VisualElementChangedEventBase<T>
      • Child
      • FromParent
      • GetPooled
      • ToParent
      • VisualElementChangedEventBase
  • SoyWar.UIToolkit.Extensions
    • HierarchicalPosition
    • UIDocumentExtensions
      • AtIndex
      • AtLastIndex
      • Exists
      • Find
      • GetFirst
      • GetLast
      • Match
    • UIToolkitEventExtensions
      • Count
      • IsElementActive
      • SetPostProcessingFilterCallback
    • VisualElementExtensions
      • AtIndex
      • AtLastIndex
      • Exists
      • Find
      • GetContentContainer
      • GetFirst
      • GetHierarchicalPosition
      • GetLast
      • HasHierarchicalPosition
      • Match
      • PlaceToFirstPosition
      • PlaceToLastPosition
      • PlaceToPosition
  • SoyWar.UIToolkit.PseudoClasses
    • ActivePseudoClass
    • BlurPseudoClass
    • CheckedPseudoClass
    • ChildPseudoClass
      • Check
      • GetChild
    • DisabledPseudoClass
    • EmptyPseudoClass
    • EnabledPseudoClass
    • EventPseudoClass<TOnEventType, TOffEventType>
      • CheckOffEvent
      • CheckOnEvent
      • TrickleDown
    • FirstChildPseudoClass
    • FirstOfTypePseudoClass
    • FocusPseudoClass
    • HasNotPseudoClass
    • HasPseudoClass
    • HostContextPseudoClass
    • HostPseudoClass
    • HoverPseudoClass
      • CheckEvent
    • IsPseudoClass
    • LastChildPseudoClass
    • LastOfTypePseudoClass
    • NotPseudoClass
    • NthChildPseudoClass
    • NthLastChildPseudoClass
    • NthLastOfTypePseudoClass
    • NthOfTypePseudoClass
    • OnlyChildPseudoClass
    • OnlyOfTypePseudoClass
    • PseudoClass
      • Add
      • AddManipulatorCallback
      • Check
      • Clone
      • CreateManipulator
      • GetValueString
      • Host
      • PointerInside
      • Validate
      • Value
    • PseudoClassManipulator
      • AddEventCallback
      • AddPostRegisterCallback
      • AddPostUnregisterCallback
      • AddPreRegisterCallback
      • AddPreUnregisterCallback
      • Check
      • CheckUpdate
      • PseudoClass
      • PseudoClassManipulator
      • Roots
      • SearchFrom
    • SelectorPseudoClassManipulator<TElement>
      • GetEnumerator
      • OffEvent
      • OnEvent
      • SelectorPseudoClassManipulator
    • SelectorPseudoClass<TElement>
      • ReverseEvent
      • Type
    • SelectorPseudoClass<TElement>.TypeSelector
    • UncheckedPseudoClass
Generated by DocFX
(with DiscordFX + SingulinkFX)

Search Results for

    Class VisualElementExtensions

    Related to:SoyWar.UIToolkit.Extensions

    /

    Inherits from:object

    /

    Implemented in:SoyWar.UIToolkit.dll

    Syntax
    public static class VisualElementExtensions

    Methods

    NameDescription
    AtIndex(IEnumerable<VisualElement>, int, TypeSearch, Predicate<VisualElement>)

    Retrieves aVisualElementat a specified index.

    AtIndex(IEnumerable<VisualElement>, int, string, TypeSearch, Predicate<VisualElement>)

    Retrieves aVisualElementat a specified index according to the filter applied via the selector.

    AtIndex(VisualElement, int, TypeSearch, Predicate<VisualElement>)

    Retrieves aVisualElementat a specified index.

    AtIndex(VisualElement, int, string, TypeSearch, Predicate<VisualElement>)

    Retrieves aVisualElementat a specified index according to the filter applied via the selector.

    AtIndex<TResult>(IEnumerable<VisualElement>, int, TypeSearch, Predicate<TResult>)

    Retrieves an element at a specified index.

    AtIndex<TResult>(IEnumerable<VisualElement>, int, string, TypeSearch, Predicate<TResult>)

    Retrieves an element at a specified index according to the filter applied via the selector.

    AtIndex<TResult>(VisualElement, int, TypeSearch, Predicate<TResult>)

    Retrieves an element at a specified index.

    AtIndex<TResult>(VisualElement, int, string, TypeSearch, Predicate<TResult>)

    Retrieves an element at a specified index according to the filter applied via the selector.

    AtLastIndex(IEnumerable<VisualElement>, int, TypeSearch, Predicate<VisualElement>)

    Retrieves aVisualElementat a specified index (counting from the end).

    AtLastIndex(IEnumerable<VisualElement>, int, string, TypeSearch, Predicate<VisualElement>)

    Retrieves aVisualElementat a specified index (counting from the end) according to the filter applied via the selector.

    AtLastIndex(VisualElement, int, TypeSearch, Predicate<VisualElement>)

    Retrieves aVisualElementat a specified index (counting from the end).

    AtLastIndex(VisualElement, int, string, TypeSearch, Predicate<VisualElement>)

    Retrieves aVisualElementat a specified index (counting from the end) according to the filter applied via the selector.

    AtLastIndex<TResult>(IEnumerable<VisualElement>, int, TypeSearch, Predicate<TResult>)

    Retrieves an element at a specified index (counting from the end).

    AtLastIndex<TResult>(IEnumerable<VisualElement>, int, string, TypeSearch, Predicate<TResult>)

    Retrieves an element at a specified index (counting from the end) according to the filter applied via the selector.

    AtLastIndex<TResult>(VisualElement, int, TypeSearch, Predicate<TResult>)

    Retrieves an element at a specified index (counting from the end).

    AtLastIndex<TResult>(VisualElement, int, string, TypeSearch, Predicate<TResult>)

    Retrieves an element at a specified index (counting from the end) according to the filter applied via the selector.

    Exists(IEnumerable<VisualElement>, TypeSearch, Predicate<VisualElement>)

    Checks if there is aVisualElement.

    Exists(IEnumerable<VisualElement>, string, TypeSearch, Predicate<VisualElement>)

    Checks if there is aVisualElementaccording to the filter applied via the selector.

    Exists(VisualElement, TypeSearch, Predicate<VisualElement>)

    Checks if there is aVisualElement.

    Exists(VisualElement, string, TypeSearch, Predicate<VisualElement>)

    Checks if there is aVisualElementaccording to the filter applied via the selector.

    Exists<TResult>(IEnumerable<VisualElement>, TypeSearch, Predicate<TResult>)

    Checks if there is an element.

    Exists<TResult>(IEnumerable<VisualElement>, string, TypeSearch, Predicate<TResult>)

    Checks if there is an element according to the filter applied via the selector.

    Exists<TResult>(VisualElement, TypeSearch, Predicate<TResult>)

    Checks if there is an element.

    Exists<TResult>(VisualElement, string, TypeSearch, Predicate<TResult>)

    Checks if there is an element according to the filter applied via the selector.

    Find(IEnumerable<VisualElement>, TypeSearch, Predicate<VisualElement>)

    Retrieves allVisualElement.

    Find(IEnumerable<VisualElement>, string, TypeSearch, Predicate<VisualElement>)

    Retrieves allVisualElementfiltered according to the selector.

    Find(VisualElement, TypeSearch, Predicate<VisualElement>)

    Retrieves allVisualElement.

    Find(VisualElement, string, TypeSearch, Predicate<VisualElement>)

    Retrieves allVisualElementfiltered according to the selector.

    Find<TResult>(IEnumerable<VisualElement>, TypeSearch, Predicate<TResult>)

    Retrieves all elements.

    Find<TResult>(IEnumerable<VisualElement>, string, TypeSearch, Predicate<TResult>)

    Retrieves all elements filtered according to the selector.

    Find<TResult>(VisualElement, TypeSearch, Predicate<TResult>)

    Retrieves all elements.

    Find<TResult>(VisualElement, string, TypeSearch, Predicate<TResult>)

    Retrieves all elements filtered according to the selector.

    GetContentContainer(VisualElement)

    Gets the container hierarchically linked to the children.

    GetFirst(IEnumerable<VisualElement>, TypeSearch, Predicate<VisualElement>)

    Retrieves the firstVisualElement.

    GetFirst(IEnumerable<VisualElement>, string, TypeSearch, Predicate<VisualElement>)

    Retrieves the firstVisualElementaccording to the filter applied via the selector.

    GetFirst(VisualElement, TypeSearch, Predicate<VisualElement>)

    Retrieves the firstVisualElement.

    GetFirst(VisualElement, string, TypeSearch, Predicate<VisualElement>)

    Retrieves the firstVisualElementaccording to the filter applied via the selector.

    GetFirst<TResult>(IEnumerable<VisualElement>, TypeSearch, Predicate<TResult>)

    Retrieves the first element.

    GetFirst<TResult>(IEnumerable<VisualElement>, string, TypeSearch, Predicate<TResult>)

    Retrieves the first element according to the filter applied via the selector.

    GetFirst<TResult>(VisualElement, TypeSearch, Predicate<TResult>)

    Retrieves the first element.

    GetFirst<TResult>(VisualElement, string, TypeSearch, Predicate<TResult>)

    Retrieves the first element according to the filter applied via the selector.

    GetHierarchicalPosition(VisualElement, VisualElement)

    Gets the hierarchical position between 2 elements.

    GetLast(IEnumerable<VisualElement>, TypeSearch, Predicate<VisualElement>)

    Retrieves the lastVisualElement.

    GetLast(IEnumerable<VisualElement>, string, TypeSearch, Predicate<VisualElement>)

    Retrieves the lastVisualElementaccording to the filter applied via the selector.

    GetLast(VisualElement, TypeSearch, Predicate<VisualElement>)

    Retrieves the lastVisualElement.

    GetLast(VisualElement, string, TypeSearch, Predicate<VisualElement>)

    Retrieves the lastVisualElementaccording to the filter applied via the selector.

    GetLast<TResult>(IEnumerable<VisualElement>, TypeSearch, Predicate<TResult>)

    Retrieves the last element.

    GetLast<TResult>(IEnumerable<VisualElement>, string, TypeSearch, Predicate<TResult>)

    Retrieves the last element according to the filter applied via the selector.

    GetLast<TResult>(VisualElement, TypeSearch, Predicate<TResult>)

    Retrieves the last element.

    GetLast<TResult>(VisualElement, string, TypeSearch, Predicate<TResult>)

    Retrieves the last element according to the filter applied via the selector.

    HasHierarchicalPosition(VisualElement, VisualElement, HierarchicalPosition)

    Checks the hierarchical position between 2 elements.

    Match(IEnumerable<VisualElement>, VisualElement, string, TypeSearch, MatchCombinator)

    Checks if there is a match between the currentVisualElement(through a combinator) and the hosts, filtered by the selector..
    The combinator is used to know the relationship between the currentVisualElementand the targetedVisualElementfrom the selector.

    Match(VisualElement, VisualElement, string, TypeSearch, MatchCombinator)

    Checks if there is a match between the currentVisualElement(through a combinator) and the host, filtered by the selector..
    The combinator is used to know the relationship between the currentVisualElementand the targetedVisualElementfrom the selector.

    PlaceToFirstPosition(VisualElement)

    Moves the element to the first position in the parent ofVisualElement.

    PlaceToLastPosition(VisualElement)

    Moves the element to the last position in the parent ofVisualElement.

    PlaceToPosition(VisualElement, int)

    Change the position of the element in theVisualElementparent.