Xceed Grid for WinForms v4.3 Documentation
SelectedItem Property


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > WinComboBox Class : SelectedItem Property
Gets or sets the ComboBoxItem currently selected in the combobox's dropdown.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property SelectedItem As ComboBoxItem
'Usage
 
Dim instance As WinComboBox
Dim value As ComboBoxItem
 
instance.SelectedItem = value
 
value = instance.SelectedItem
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public ComboBoxItem SelectedItem {get; set;}

Property Value

A reference to a ComboBoxItem representing the item currently selected in the combobox's DropDownControl. If a null reference (Nothing in Visual Basic), 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