Interface ICellLinkControlT<T>
- All Superinterfaces:
ICellLinkControl,IControl
- All Known Subinterfaces:
ICheckBox,IDropDown,IListBox,IOptionButton,IRangeBase,IScrollBar,ISelector,ISelectorT<T,,TCollection> ISpinner
具有CellLink属性的控件的常见成员。
-
Method Summary
Methods inherited from interface com.grapecity.documents.excel.forms.ICellLinkControl
getDisplay3DShading, getLinkedCell, setDisplay3DShading, setLinkedCellMethods inherited from interface 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
-
Method Details
-
getValue
T getValue()用于绑定ICellLinkControl.LinkedCell的值。此属性的实际含义取决于当前控件的
IControl.FormControlType。-
FormControlType.CheckBox:False- 未选中,true- 选中,null- 混合 -
FormControlType.OptionButton:False- 未选择,true- 已选择。在IOptionButton中此值不可为空。 -
FormControlType.Spinner,FormControlType.ScrollBar:当前值 -
FormControlType.ListBox,FormControlType.DropDown:ISelector.SelectedIndex+ 1
-
-
setValue
用于绑定ICellLinkControl.LinkedCell的值。该属性的实际含义取决于当前控件的
IControl.FormControlType。FormControlType.CheckBox:False- 未选中,true- 选中,null- 混合状态FormControlType.OptionButton:False- 未选择,true- 已选择。在IOptionButton中,此值不可为空。FormControlType.Spinner、FormControlType.ScrollBar:当前值FormControlType.ListBox、FormControlType.DropDown:ISelector.SelectedIndex+ 1
-