[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.FormControls.IListControl

IListControl Interface

Provides a common implementation of members for the IListBox and IDropDown classes.

Namespace: GrapeCity.Spreadsheet.FormControls
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public interface IListControl : IFormControl, IDrawingObject
Public Interface IListControl
    Inherits IFormControl, IDrawingObject

Properties

Name Description
LinkedCell

Gets or sets the worksheet range linked to the control's value

ListCount

Gets the number of entries in a list box or combo box.

ListFillRange

Gets or sets the worksheet range used to fill the specified list box.

ListIndex

Gets or sets the index number (base 0) of the currently selected item in a list box or combo box.

Value

Gets or sets an integer value that represents the value of the specified control.

Methods

Name Description
AddItem(string, int)

Adds an item to a list box or a combo box.

List(int, string)

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

List(string[])

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

RemoveAllItems()

Removes all entries from a list box or combo box.

RemoveItem(int, int)

Removes one or more items from a list box or combo box.