[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.FormControls.IListControl.List

List Method

List(string[])

Gets or sets the text entries in the specified list box or combo box.

Declaration
string[] List(string[] entries = null)
Function List(Optional entries As String() = Nothing) As String()
Parameters
Type Name Description
string[] entries

The text entries to set. null value will be omitted.

Returns
Type Description
string[]

The text entries of the list box or combo box.

Remarks

Setting this property clears any range specified by the ListFillRange property.

List(int, string)

Gets or sets the single text entry in the specified list box or combo box.

Declaration
string List(int index, string entry = null)
Function List(index As Integer, Optional entry As String = Nothing) As String
Parameters
Type Name Description
int index

The index number of a single text entry.

string entry

The single text entry to set. null value will be omitted.

Returns
Type Description
string

The single text entry at the specified index.

Remarks

Setting this property clears any range specified by the ListFillRange property.