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