> For the complete documentation index, see [llms.txt](https://desktop-api.iceteagroup.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md).

# ISalListControl

Namespace: **PPJ.Runtime**

Assembly: **PPJ.Runtime.49** (4.9.0.0)

SAL List controls implement this interface.

{% tabs %}
{% tab title="C#" %}

```csharp
public interface ISalListControl
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Interface ISalListControl
```

{% endtab %}
{% endtabs %}

## Properties

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Count

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Returns the total number of items in the list.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Item(index)

[Object](https://docs.microsoft.com/en-us/dotnet/api/system.object): Returns the item at the specified index.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Items

[IList](https://docs.microsoft.com/en-us/dotnet/api/system.collections.ilist): Returns the collection of items.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SelectedIndex

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Returns/Sets the index of the currently selected item.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SelectedIndices

[Int32\[\]](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Returns the indices of the selected items.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SelectedItem

[Object](https://docs.microsoft.com/en-us/dotnet/api/system.object): Returns/Sets the currently selected item.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SelectionMode

[SelectionMode](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.selectionmode): Returns/Sets the selection mode.

## Methods

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Add(item)

Adds an item to the list.

| Parameter | Type                                                                | Description |
| --------- | ------------------------------------------------------------------- | ----------- |
| **item**  | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)AddRange(items)

Adds a collection of items to the list.

| Parameter | Type                                                                    | Description |
| --------- | ----------------------------------------------------------------------- | ----------- |
| **items** | [Object\[\]](https://docs.microsoft.com/en-us/dotnet/api/system.object) |             |

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Clear()

Clears the list.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Delete(index)

Deletes the item at the index.

| Parameter | Type                                                              | Description |
| --------- | ----------------------------------------------------------------- | ----------- |
| **index** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32) |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Find(item)

Finds the item in the list.

| Parameter | Type                                                                | Description |
| --------- | ------------------------------------------------------------------- | ----------- |
| **item**  | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)FindString(text, startIndex)

Finds the item in the list.

| Parameter      | Type                                                                | Description |
| -------------- | ------------------------------------------------------------------- | ----------- |
| **text**       | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) |             |
| **startIndex** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)FindStringExact(text, startIndex)

Finds the item in the list.

| Parameter      | Type                                                                | Description |
| -------------- | ------------------------------------------------------------------- | ----------- |
| **text**       | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) |             |
| **startIndex** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Insert(index, item)

Inserts the items at the specified position.

| Parameter | Type                                                                | Description |
| --------- | ------------------------------------------------------------------- | ----------- |
| **index** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)   |             |
| **item**  | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) |             |

**Returns:** [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)IsSelected(index)

Tests if the item at the specified index is selected.

| Parameter | Type                                                              | Description |
| --------- | ----------------------------------------------------------------- | ----------- |
| **index** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32) |             |

**Returns:** [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetSelected(index, selected)

Selects/Deselects the specified item.

| Parameter    | Type                                                                  | Description |
| ------------ | --------------------------------------------------------------------- | ----------- |
| **index**    | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)     |             |
| **selected** | [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean) |             |

### ![](/files/dBIrS7XBDGmrzmTRbSI6)UpdateItem(index)

Updates the item.

| Parameter | Type                                                              | Description |
| --------- | ----------------------------------------------------------------- | ----------- |
| **index** | [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32) |             |

## Implemented By

| Name                                                                                 | Description                             |
| ------------------------------------------------------------------------------------ | --------------------------------------- |
| [SalComboBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)             | ComboBox implementation.                |
| [SalListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)              | ListBox implementation.                 |
| [SalTableColumn](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)          | Summary description for SalTableColumn. |
| [SalQuickToolTipComboBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md) | ComboBox with tool tip support          |
| [SalQuickToolTipListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)  | List box with tool tip support          |
| [VisColorComboBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)        |                                         |
| [VisColorListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)         |                                         |
| [VisColorPaletteDropDown](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md) |                                         |
| [VisComboBoxBase](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)         |                                         |
| [VisDesktopListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)       |                                         |
| [VisDirListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)           |                                         |
| [VisDirTreeListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)       |                                         |
| [VisDriveListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)         |                                         |
| [VisDropDownBase](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)         |                                         |
| [VisFileListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)          |                                         |
| [VisFontComboBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)         |                                         |
| [VisFontListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)          |                                         |
| [VisFontNameComboBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)     |                                         |
| [VisFontNameListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)      |                                         |
| [VisListBoxBase](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)          |                                         |
| [VisListViewDropDown](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)     |                                         |
| [VisOutlineComboBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)      |                                         |
| [VisOutlineListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)       |                                         |
| [VisPictureComboBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)      |                                         |
| [VisPictureListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)       |                                         |
| [VisRadioListBox](/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md)         |                                         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
