# 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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Count

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Item(index)

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Items

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SelectedIndex

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SelectedIndices

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SelectedItem

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SelectionMode

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

## Methods

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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) |             |

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Clear()

Clears the list.

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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) |             |

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)             | ComboBox implementation.                |
| [SalListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)              | ListBox implementation.                 |
| [SalTableColumn](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)          | Summary description for SalTableColumn. |
| [SalQuickToolTipComboBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol) | ComboBox with tool tip support          |
| [SalQuickToolTipListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)  | List box with tool tip support          |
| [VisColorComboBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)        |                                         |
| [VisColorListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)         |                                         |
| [VisColorPaletteDropDown](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol) |                                         |
| [VisComboBoxBase](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)         |                                         |
| [VisDesktopListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)       |                                         |
| [VisDirListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)           |                                         |
| [VisDirTreeListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)       |                                         |
| [VisDriveListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)         |                                         |
| [VisDropDownBase](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)         |                                         |
| [VisFileListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)          |                                         |
| [VisFontComboBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)         |                                         |
| [VisFontListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)          |                                         |
| [VisFontNameComboBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)     |                                         |
| [VisFontNameListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)      |                                         |
| [VisListBoxBase](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)          |                                         |
| [VisListViewDropDown](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)     |                                         |
| [VisOutlineComboBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)      |                                         |
| [VisOutlineListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)       |                                         |
| [VisPictureComboBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)      |                                         |
| [VisPictureListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)       |                                         |
| [VisRadioListBox](https://desktop-api.iceteagroup.com/ppj.runtime.49/interfaces/ppj.runtime.isallistcontrol)         |                                         |
