Namespace SoyWar.UIToolkit.PseudoClasses
Classes
ActivePseudoClass
The:activepseudo-class represents an element (such asButton) that is being activated by the user. When using a mouse, "activation" typically starts when the user presses down the primary mouse button.
BlurPseudoClass
The:blurpseudo-class represents an element (such asTextField) that has lost focus. It is generally triggered when the user clicks or taps or selects with the keyboard's Tab key an element other than the one focused. The element also has afocus state, in which it receives the focus.
CheckedPseudoClass
The:checkedpseudo-class selector represents any boolean (RadioButton,Toggle), or option (RadioButtonGroup,GroupBox,DropdownField) element that is checked or toggled to an on state.
ChildPseudoClass
DisabledPseudoClass
The:disabledpseudo-class represents any disabled element. An element is disabled if it can't be activated (selected, clicked on, typed into, etc.) or accept focus. The element also has anenabled state, in which it can be activated or accept focus.
EmptyPseudoClass
The:emptypseudo-class represents any element that has no children depending on whether the search is done via container or hierachy.
EnabledPseudoClass
The:enabledpseudo-class represents any enabled element. An element is enabled if it can be activated (selected, clicked on, typed into, etc.) or accept focus. The element also has adisabled state, in which it can't be activated or accept focus.
EventPseudoClass<TOnEventType, TOffEventType>
FirstChildPseudoClass
The:first-childpseudo-class represents the first element among a group of sibling elements.
FirstOfTypePseudoClass
The:first-of-typepseudo-class represents the first element of its type among a group of sibling elements.
FocusPseudoClass
The:focuspseudo-class represents an element (such asTextField) that has received focus. It is generally triggered when the user clicks or taps on an element or selects it with the keyboard's Tab key. The element also has ablur state, in which it loses the focus.
HasNotPseudoClass
The functional:has-not()pseudo-class represents an element if any of the relative selectors that are passed as an argument does not match any element when anchored against this element. This pseudo-class presents a way of selecting a parent element or a previous sibling element with respect to a reference element by taking a relative selector list as an argument.
HasPseudoClass
The functional:has()pseudo-class represents an element if any of the relative selectors that are passed as an argument match at least one element when anchored against this element. This pseudo-class presents a way of selecting a parent element or a previous sibling element with respect to a reference element by taking a relative selector list as an argument.
HostContextPseudoClass
The:host-context()pseudo-class function selects theVisualElementhost only if the selector given as the function's parameter matches theVisualElementhost's ancestor(s) in the place it sits inside theUIDocumenthierarchy.
HostPseudoClass
The:hostpseudo-class selects theVisualElementhost.
The:host()pseudo-class function selects theVisualElementhost only if the selector given as the function's parameter matches theVisualElementhost.
HoverPseudoClass
The:hoverpseudo-class matches when the user interacts with an element with a pointing device, but does not necessarily activate it. It is generally triggered when the user hovers over an element with the cursor (mouse pointer).
IsPseudoClass
The:is()pseudo-class function takes a selector list as its argument, and selects any element that can be selected by onea of the selectors in that list. This is useful for writing large selectors in a more compact form.
LastChildPseudoClass
The:last-childpseudo-class represents the last element among a group of sibling elements.
LastOfTypePseudoClass
The:last-of-typepseudo-class represents the last element of its type among a group of sibling elements.
NotPseudoClass
The:not()pseudo-class represents elements that do not match a list of selectors. Since it prevents specific items from being selected, it can be compared as the negation of:is()pseudo-class.
NthChildPseudoClass
The:nth-child()pseudo-class matches elements based on their position among a group of siblings.
NthLastChildPseudoClass
The:nth-last-child()pseudo-class matches elements based on their position among a group of siblings, counting from the end.
NthLastOfTypePseudoClass
The:nth-last-of-type()pseudo-class matches elements based on their position among siblings of the same type, counting from the end.
NthOfTypePseudoClass
The:nth-of-type()pseudo-class matches elements based on their position among siblings of the same type.
OnlyChildPseudoClass
The:only-childpseudo-class represents an element without any siblings. This is the same as :first-child:last-child or :nth-child(1):nth-last-child(1).
OnlyOfTypePseudoClass
The:only-of-typepseudo-class represents an element that has no siblings of the same type. This is the same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1).
PseudoClass
Base class from which every pseudo classes derives
PseudoClassManipulator
SelectorPseudoClassManipulator<TElement>
SelectorPseudoClass<TElement>
UncheckedPseudoClass
The:uncheckedpseudo-class selector represents any boolean (RadioButton,Toggle), or option (RadioButtonGroup,GroupBox,DropdownField) element that is unchecked or toggled to an off state.