Method Descendants
Descendants(string, string)
Add a new compound selector as an descendant element
Declaration
public Selector.SelectorBuilder Descendants(string name = null, string className = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the next targetedVisualElement. |
string | className | Class name of the next targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Descendants<TElement>(string, string)
Add a new compound selector as an descendant element
Declaration
public Selector.SelectorBuilder Descendants<TElement>(string name = null, string className = null) where TElement : VisualElement
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the next targetedVisualElement. |
string | className | Class name of the next targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Type Parameters
Name | Description |
---|---|
TElement | Type of the next targetedVisualElement. |
Descendants(Type, string, string)
Add a new compound selector as an descendant element
Declaration
public Selector.SelectorBuilder Descendants(Type type, string name = null, string className = null)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the targetedVisualElement. |
string | name | Name of the next targetedVisualElement. |
string | className | Class name of the next targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Descendants(string, params string[])
Add a new compound selector as an descendant element
Declaration
public Selector.SelectorBuilder Descendants(string name = null, params string[] classNames)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the next targetedVisualElement. |
string[] | classNames | Class names of the next targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Descendants<TElement>(string, params string[])
Add a new compound selector as an descendant element
Declaration
public Selector.SelectorBuilder Descendants<TElement>(string name = null, params string[] classNames) where TElement : VisualElement
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the next targetedVisualElement. |
string[] | classNames | Class names of the next targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |
Type Parameters
Name | Description |
---|---|
TElement | Type of the next targetedVisualElement. |
Descendants(Type, string, params string[])
Add a new compound selector as an descendant element
Declaration
public Selector.SelectorBuilder Descendants(Type type, string name = null, params string[] classNames)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the targetedVisualElement. |
string | name | Name of the next targetedVisualElement. |
string[] | classNames | Class names of the next targetedVisualElement. |
Returns
Type |
---|
Selector.SelectorBuilder |