Skip to main content
Version: 2025

ISalListControl

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Web.49 (4.9.0.0)

SAL List controls implement this interface.

public interface ISalListControl

Properties

Instance memberAllowHtml

Boolean: Enables or disables HTML content in list items.

Instance memberCount

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

Instance memberItem(index)

Object: Returns the item at the specified index.

Instance memberItems

IList: Returns the collection of items.

Instance memberSelectedIndex

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

Instance memberSelectedIndices

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

Instance memberSelectedItem

Object: Returns/Sets the currently selected item.

Instance memberSelectionMode

SelectionMode: Returns/Sets the selection mode.

Methods

Instance memberAdd(item)

Adds an item to the list.

ParameterTypeDescription
itemObject

Returns: Int32.

Instance memberAddRange(items)

Adds a collection of items to the list.

ParameterTypeDescription
itemsObject[]

Instance memberClear()

Clears the list.

Instance memberDelete(index)

Deletes the item at the index.

ParameterTypeDescription
indexInt32

Returns: Int32.

Instance memberFind(item)

Finds the item in the list.

ParameterTypeDescription
itemObject

Returns: Int32.

Instance memberFindString(text, startIndex)

Finds the item in the list.

ParameterTypeDescription
textString
startIndexInt32

Returns: Int32.

Instance memberFindStringExact(text, startIndex)

Finds the item in the list.

ParameterTypeDescription
textString
startIndexInt32

Returns: Int32.

Instance memberInsert(index, item)

Inserts the items at the specified position.

ParameterTypeDescription
indexInt32
itemObject

Returns: Int32.

Instance memberIsSelected(index)

Tests if the item at the specified index is selected.

ParameterTypeDescription
indexInt32

Returns: Boolean.

Instance memberSetSelected(index, selected)

Selects/Deselects the specified item.

ParameterTypeDescription
indexInt32
selectedBoolean

Instance memberUpdateItem(item)

Updates the specified item on the client.

ParameterTypeDescription
itemObject

Implemented By

NameDescription
SalComboBoxRepresents an editable control that displays a drop down list of options to the user.
SalListBoxRepresents a control that shows a lost of values that the user can select.
SalTableColumnSummary description for SalTableColumn.
VisColorComboBox
VisColorListBox
VisComboBoxBase
VisDesktopListBox
VisDirListBox
VisDirTreeListBox
VisDriveComboBox
VisDriveListBox
VisDropDownBase
VisFileListBox
VisFontComboBox
VisFontListBox
VisFontNameComboBox
VisFontNameListBox
VisListBoxBase
VisListViewDropDown
VisOutlineComboBox
VisOutlineListBox
VisPictureComboBox
VisPictureListBox
VisRadioListBox