# ISalListControl

Namespace: **PPJ.Runtime.Windows**

Assembly: **PPJ.Web.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/qoQXnPICsjBVNBSqpOj9)AllowHtml

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Enables or disables HTML content in list items.

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

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

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

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

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

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

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

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

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

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

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

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

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

[SelectionMode](https://docs.wisej.com/api?q=wisej.web.selectionmode): Returns/Sets the selection mode.

## Methods

### ![](/files/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)Clear()

Clears the list.

### ![](/files/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)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/qoQXnPICsjBVNBSqpOj9)UpdateItem(item)

Updates the specified item on the client.

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

## Implemented By

| Name                                                                                                                         | Description                                                                           |
| ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [SalComboBox](https://docs.wisej.com/extensions/ppj.web.49/controls/ppj.runtime.windows.salcombobox.md)                      | Represents an editable control that displays a drop down list of options to the user. |
| [SalListBox](https://docs.wisej.com/extensions/ppj.web.49/controls/ppj.runtime.windows.sallistbox.md)                        | Represents a control that shows a lost of values that the user can select.            |
| [SalTableColumn](https://docs.wisej.com/extensions/ppj.web.49/controls/saltablewindow/ppj.runtime.windows.saltablecolumn.md) | Summary description for SalTableColumn.                                               |
| [VisColorComboBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.viscolorcombobox.md)            |                                                                                       |
| [VisColorListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.viscolorlistbox.md)              |                                                                                       |
| [VisComboBoxBase](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.viscomboboxbase.md)              |                                                                                       |
| [VisDesktopListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visdesktoplistbox.md)          |                                                                                       |
| [VisDirListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visdirlistbox.md)                  |                                                                                       |
| [VisDirTreeListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visdirtreelistbox.md)          |                                                                                       |
| [VisDriveComboBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visdrivecombobox.md)            |                                                                                       |
| [VisDriveListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visdrivelistbox.md)              |                                                                                       |
| [VisDropDownBase](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visdropdownbase.md)              |                                                                                       |
| [VisFileListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visfilelistbox.md)                |                                                                                       |
| [VisFontComboBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visfontcombobox.md)              |                                                                                       |
| [VisFontListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visfontlistbox.md)                |                                                                                       |
| [VisFontNameComboBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visfontnamecombobox.md)      |                                                                                       |
| [VisFontNameListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visfontnamelistbox.md)        |                                                                                       |
| [VisListBoxBase](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.vislistboxbase.md)                |                                                                                       |
| [VisListViewDropDown](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.vislistviewdropdown.md)      |                                                                                       |
| [VisOutlineComboBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visoutlinecombobox.md)        |                                                                                       |
| [VisOutlineListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visoutlinelistbox.md)          |                                                                                       |
| [VisPictureComboBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.vispicturecombobox.md)        |                                                                                       |
| [VisPictureListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.vispicturelistbox.md)          |                                                                                       |
| [VisRadioListBox](https://docs.wisej.com/extensions/ppj.web.vis.49/controls/ppj.runtime.vis.visradiolistbox.md)              |                                                                                       |


---

# Agent Instructions: 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:

```
GET https://web-api.iceteagroup.com/ppj.web.49/interfaces/ppj.runtime.windows.isallistcontrol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
