# List object

You can make a selection in a ListObject.

Example: Apply a selection in a ListObject

```
	var values = new[] { 1, 2, 3 };
	bool softLock = true;
	bool toggleMode = false;
	bool didSelectValues = listbox.SelectValues(values, toggleMode, softLock);	
```

## Selecting all values

You can select all values with an optional softlock.

Example: Select all values with an optional softlock

```
	bool didSelectValues = myListbox.SelectAll(softLock);
```

## Selecting all alternative values

You can select all alternative values with an optional softlock.

Example: Select all alternative values with an optional softlock

```
	bool didSelectValues = myListbox.SelectAlternative(softLock);
```

## Selecting all excluded values

You can select all excluded values with an optional softlock.

Example: Select all excluded values with an optional softlock

```
	bool didSelectValues = myListbox.SelectExcluded(softLock);
```

## Selecting all possible values

You can select all possible values with an optional softlock.

Example: Select all possible values with an optional softlock

```
	bool didSelectValues = myListbox.SelectPossible(softLock);
```