Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcComboBoxCellType Class / UnSelectedImageIndex Property


In This Topic
UnSelectedImageIndex Property (GcComboBoxCellType)
In This Topic
Gets or sets the index of the image that is shown on the editor area when user the does not select an item in the drop-down list.
Syntax
'Declaration
 
Public Property UnSelectedImageIndex As Integer
 
'Usage
 
Dim instance As GcComboBoxCellType
Dim value As Integer
 
instance.UnSelectedImageIndex = value
 
value = instance.UnSelectedImageIndex

Property Value

An System.Int32 value that indicates the image index.
The default is -1.
Remarks
When the SelectedItem is a null reference (Nothing in Visual Basic) and the TextBoxStyle property is TextBoxStyle.ImageOnly or TextBoxStyle.Both, an image is displayed in the edit area based on the index value.
See Also