Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 646
  • Last Modified:

How to set value member in listbox using Silverlight 3.0

Hello Experts,
How to set value member in listbox using Silverlight 3.0
0
zillion_kamesh
Asked:
zillion_kamesh
1 Solution
 
sureshchsahuCommented:
Try this:
<ListBox x:Name="lst">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Content="{Binding Path=Name}" Tag="{Binding Path=ID}" x:Name="tb" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now