Links

ISalListControl

PPJ.Runtime.ISalListControl
Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.49 (4.9.0.0)
SAL List controls implement this interface.
C#
VB.NET
public interface ISalListControl
Public Interface ISalListControl

Properties

Count

Int32: Returns the total number of items in the list.

Item(index)

Object: Returns the item at the specified index.

Items

IList: Returns the collection of items.

SelectedIndex

Int32: Returns/Sets the index of the currently selected item.

SelectedIndices

Int32[]: Returns the indices of the selected items.

SelectedItem

Object: Returns/Sets the currently selected item.

SelectionMode

SelectionMode: Returns/Sets the selection mode.

Methods

Add(item)

Adds an item to the list.
Parameter
Type
Description
item
Object
Returns: Int32.

AddRange(items)

Adds a collection of items to the list.
Parameter
Type
Description
items
Object[]

Clear()

Clears the list.

Delete(index)

Deletes the item at the index.
Parameter
Type
Description
index
Int32
Returns: Int32.

Find(item)

Finds the item in the list.
Parameter
Type
Description
item
Object
Returns: Int32.

FindString(text, startIndex)

Finds the item in the list.
Parameter
Type
Description
text
String
startIndex
Int32
Returns: Int32.

FindStringExact(text, startIndex)

Finds the item in the list.
Parameter
Type
Description
text
String
startIndex
Int32
Returns: Int32.

Insert(index, item)

Inserts the items at the specified position.
Parameter
Type
Description
index
Int32
item
Object
Returns: Int32.

IsSelected(index)

Tests if the item at the specified index is selected.
Parameter
Type
Description
index
Int32
Returns: Boolean.

SetSelected(index, selected)

Selects/Deselects the specified item.
Parameter
Type
Description
index
Int32
selected
Boolean

UpdateItem(index)

Updates the item.
Parameter
Type
Description
index
Int32

Implemented By

Name
Description
ComboBox implementation.
ListBox implementation.
Summary description for SalTableColumn.
ComboBox with tool tip support
List box with tool tip support