Xceed Ultimate ListBox for Silverlight Documentation
SelectedValue Property


Gets or sets the value of the SelectedItem, obtained by using SelectedValuePath.

Syntax
Public Property SelectedValue As Object
Dim instance As ListBox
Dim value As Object
 
instance.SelectedValue = value
 
value = instance.SelectedValue
public object SelectedValue {get; set;}

Property Value

The value of the selected item.

Remarks
When used with a data-virtualized (asynchronous) source, this property will always return null.
Example
For more information and examples on selecting data, refer to the Selecting Data topic.
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

ListBox Class
ListBox Members

Send Feedback