SpreadsheetGear 2023
ListIndex Property (IControlFormat)


SpreadsheetGear.Shapes Namespace > IControlFormat Interface : ListIndex Property
Gets or sets the zero based list index, or -1 to indicate that no list item is selected.
Syntax
'Declaration
 
Property ListIndex As System.Integer
'Usage
 
Dim instance As IControlFormat
Dim value As System.Integer
 
instance.ListIndex = value
 
value = instance.ListIndex
System.int ListIndex {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IControlFormat Interface
IControlFormat Members
ListIndexNone Field
ListFillRange Property
List Property
ListCount Property
AddItem(String) Method
AddItem(String,Int32) Method
RemoveItem Method
RemoveAllItems Method