Xceed Grid for WinForms v4.3 Documentation
SelectedIndex Property


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > WinComboBox Class : SelectedIndex Property
Gets the zero-based index of the SelectedItem in the Items collection.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property SelectedIndex As Integer
'Usage
 
Dim instance As WinComboBox
Dim value As Integer
 
instance.SelectedIndex = value
 
value = instance.SelectedIndex
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public int SelectedIndex {get; set;}

Property Value

A value representing the zero-based index of the SelectedItem in the Items collection.
Remarks

If -1, an item is not selected.

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

WinComboBox Class
WinComboBox Members
Items Property