接口 ISelector
- 所有超级接口:
ICellLinkControl
,ICellLinkControlT<Integer>
,IControl
- 所有已知子接口:
IDropDown
,IListBox
,ISelectorT<T,
TCollection>
Represents a control that allows a user to select items from among its child elements.
-
方法概要
修饰符和类型方法说明Represents the items source of this control.int
Represents the selected index of this control.void
setItemsSourceRange
(IRange value) Represents the items source of this control.void
setSelectedIndex
(int value) Represents the selected index of this control.从接口继承的方法 com.grapecity.documents.excel.forms.ICellLinkControl
getDisplay3DShading, getLinkedCell, setDisplay3DShading, setLinkedCell
从接口继承的方法 com.grapecity.documents.excel.forms.IControl
bringToFront, delete, getBottomRightCell, getEnabled, getFormControlType, getHeight, getLeft, getLocked, getName, getParent, getPlacement, getPrintObject, getShapeRange, getTop, getTopLeftCell, getVisible, getWidth, getZOrder, sendToBack, setEnabled, setHeight, setLeft, setLocked, setName, setPlacement, setPrintObject, setTop, setVisible, setWidth
-
方法详细资料
-
getItemsSourceRange
IRange getItemsSourceRange()Represents the items source of this control. This property can't be used if items were added toISelectorT.Items
.This property doesn't handle #REF! errors. #REF! will be treated as an empty collection.
-
setItemsSourceRange
Represents the items source of this control. This property can't be used if items were added toISelectorT.Items
.This property doesn't handle #REF! errors. #REF! will be treated as an empty collection.
-
getSelectedIndex
int getSelectedIndex()Represents the selected index of this control.- API Note:
- Not fully supported by the *.ssjson format.The index could cause
IndexOutOfBoundsException
if items are lost.
-
setSelectedIndex
void setSelectedIndex(int value) Represents the selected index of this control.- API Note:
- Not fully supported by the *.ssjson format.The index could cause
IndexOutOfBoundsException
if items are lost.
-