Xceed Toolkit Plus for WPF v4.6 Documentation
SelectedValuePath Property (ListBox)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace > ListBox Class : SelectedValuePath Property

Gets or sets the path that is used to get the SelectedValue property of the SelectedItem property.

Syntax
'Declaration
 
Public Property SelectedValuePath As String
'Usage
 
Dim instance As ListBox
Dim value As String
 
instance.SelectedValuePath = value
 
value = instance.SelectedValuePath
public string SelectedValuePath {get; set;}

Property Value

The path used to get the SelectedValue.

Remarks
When used with a data-virtualized (asynchronous) source, this property has no effect.
Example
For more information and examples on selecting data, refer to the Selecting Data topic.
Requirements

Target Platforms: Windows 11, Windows 10, 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