Xceed Grid for WinForms v4.3 Documentation
SelectedValue Property (WinComboBox)


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > WinComboBox Class : SelectedValue Property
Gets or sets the value that is currently selected in the SelectedItem.
Syntax
'Declaration
 
<BrowsableAttribute(False)>

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

<BindableAttribute(True)>

Public Property SelectedValue As Object
'Usage
 
Dim instance As WinComboBox

Dim value As Object

 

instance.SelectedValue = value

 

value = instance.SelectedValue
[Browsable(false)]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

[Bindable(true)]

public object SelectedValue {get; set;}

Property Value

An System.Object representing the value that is currently selected in the SelectedItem.
Remarks

The ValueMember property must be set to the field of the data source from which to draw the value.

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