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.
Property ListIndex As System.Integer
Dim instance As IControlFormat
Dim value As System.Integer
instance.ListIndex = value
value = instance.ListIndex
System.int ListIndex {get; set;}

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


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