ISalListControl
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Web.49 (4.9.0.0)
SAL List controls implement this interface.
- C#
- VB.NET
public interface ISalListControl
Public Interface ISalListControl
Properties
AllowHtml
Boolean: Enables or disables HTML content in list items.
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(item)
Updates the specified item on the client.
| Parameter | Type | Description |
|---|---|---|
| item | Object |
Implemented By
| Name | Description |
|---|---|
| SalComboBox | Represents an editable control that displays a drop down list of options to the user. |
| SalListBox | Represents a control that shows a lost of values that the user can select. |
| SalTableColumn | Summary description for SalTableColumn. |
| VisColorComboBox | |
| VisColorListBox | |
| VisComboBoxBase | |
| VisDesktopListBox | |
| VisDirListBox | |
| VisDirTreeListBox | |
| VisDriveComboBox | |
| VisDriveListBox | |
| VisDropDownBase | |
| VisFileListBox | |
| VisFontComboBox | |
| VisFontListBox | |
| VisFontNameComboBox | |
| VisFontNameListBox | |
| VisListBoxBase | |
| VisListViewDropDown | |
| VisOutlineComboBox | |
| VisOutlineListBox | |
| VisPictureComboBox | |
| VisPictureListBox | |
| VisRadioListBox |