I have a xaml TextBlock bound as follows:
<TextBlock Text="{Binding LastName}"/>
How do I access SelectedItem.LastName in C# codebehind? Thanks.
Details:
Data are from an XML file
<Player>
<LastName>...</LastName>
<Age>...</Age>
</Player>
The combobox binding was simplified for clarity as above in the xaml file.
Looking for this?
http://msdn.microsoft.com/en-us/library/ms742863.aspx