[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IControlFormat

IControlFormat Interface

Represents all control properties.

Namespace: GrapeCity.Spreadsheet.Drawing
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public interface IControlFormat
Public Interface IControlFormat

Properties

Name Description
DropDownLines

Gets or sets the number of list lines displayed in the drop-down portion of a combo box.

Enabled

Gets or sets a boolean value indicating whether the object is enabled.

LargeChange

Gets or sets the amount that the scroll box increments or decrements for a page scroll (when the user clicks in the scroll bar body region).

LinkedCell

Gets or sets the worksheet range linked to the control's value. If you place a value in the cell, the control takes this value. Likewise, if you change the value of the control, that value is also placed in the cell.

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.

LockedText

Gets the text in the specified object will be locked to prevent changes when the workbook is protected.

Max

Gets or sets the maximum value of a scroll bar or spinner range.

Min

Gets or sets the minimum value of a scroll bar or spinner range.

MultiSelect

Gets or sets the selection mode of the specified list box.

PrintObject

Gets or sets a boolean value indicating whether the object will be printed when the document is printed.

SmallChange

Gets or sets the amount that the scroll bar or spinner is incremented or decremented for a line scroll (when the user chooses an arrow).

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.