Method Adjacent
Adjacent(string, string)
Add a new compound selector as an adjacent element
Declaration
public Selector.SelectorBuilder Adjacent(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 |
Adjacent<TElement>(string, string)
Add a new compound selector as an adjacent element
Declaration
public Selector.SelectorBuilder Adjacent<TElement>(string name = null, string className = null) where TElement : VisualElementParameters
| 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. |
Adjacent(Type, string, string)
Add a new compound selector as an adjacent element
Declaration
public Selector.SelectorBuilder Adjacent(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 |
Adjacent(string, params string[])
Add a new compound selector as an adjacent element
Declaration
public Selector.SelectorBuilder Adjacent(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 |
Adjacent<TElement>(string, params string[])
Add a new compound selector as an adjacent element
Declaration
public Selector.SelectorBuilder Adjacent<TElement>(string name = null, params string[] classNames) where TElement : VisualElementParameters
| 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. |
Adjacent(Type, string, params string[])
Add a new compound selector as an adjacent element
Declaration
public Selector.SelectorBuilder Adjacent(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 |
