FlexGrid for WinForms
SelectedIndex Property



Gets or sets the selected index in the currently active ComboBox editor.
Syntax
'Declaration
 
Public Property SelectedIndex As Integer
'Usage
 
Dim instance As ComboBoxEditor
Dim value As Integer
 
instance.SelectedIndex = value
 
value = instance.SelectedIndex
public int SelectedIndex {get; set;}
public:
property int SelectedIndex {
   int get();
   void set (    int value);
}
Remarks
If there's no active editor, or if the editor is not a ComboBox, the value returned is -1.
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

ComboBoxEditor Class
ComboBoxEditor Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback