ISalListControl

PPJ.Runtime.ISalListControl

Namespace: PPJ.Runtime

Assembly: PPJ.Runtime.49 (4.9.0.0)

SAL List controls implement this interface.

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

Returns: Int32.

AddRange(items)

Adds a collection of items to the list.

Parameter
Type
Description

Clear()

Clears the list.

Delete(index)

Deletes the item at the index.

Parameter
Type
Description

index

Returns: Int32.

Find(item)

Finds the item in the list.

Parameter
Type
Description

item

Returns: Int32.

FindString(text, startIndex)

Finds the item in the list.

Parameter
Type
Description

text

startIndex

Returns: Int32.

FindStringExact(text, startIndex)

Finds the item in the list.

Parameter
Type
Description

text

startIndex

Returns: Int32.

Insert(index, item)

Inserts the items at the specified position.

Parameter
Type
Description

index

item

Returns: Int32.

IsSelected(index)

Tests if the item at the specified index is selected.

Parameter
Type
Description

index

Returns: Boolean.

SetSelected(index, selected)

Selects/Deselects the specified item.

Parameter
Type
Description

index

selected

UpdateItem(index)

Updates the item.

Parameter
Type
Description

index

Implemented By

Last updated