How to show 1 value from 2 values in combobox xaml? <p>Hi I have a ComboBox with show 2 values name and code I want that when I press the drop down in the ComboBox show the 2 values but when I select from the drop down I want the code only return to combo box then the name return in other TextBox. </p> <pre><code>&lt;ComboBox ItemsSource="{Binding StoreList,Mode=TwoWay}" VerticalAlignment="Center" Grid.Column="1" Name="ItemAutoComplete" SelectedItem="{Binding TransactionHeader.StorePerRow,Mode=TwoWay}" Margin="0,0,105,6" Grid.ColumnSpan="3" IsEnabled="{Binding TransactionHeader.inter, Mode=TwoWay }" SelectedValue="iserial" Grid.Row="2" Height="44"&gt; &lt;ComboBox.ItemTemplate&gt; &lt;DataTemplate&gt; &lt;Grid&gt; &lt;Grid.ColumnDefinitions&gt; &lt;ColumnDefinition Width="*" /&gt; &lt;ColumnDefinition Width="*" /&gt; &lt;/Grid.ColumnDefinitions&gt; &lt;StackPanel&gt; &lt;TextBlock Text="{Binding ENAME}"&gt;&lt;/TextBlock&gt; &lt;TextBlock Text="{Binding code}"&gt;&lt;/TextBlock&gt; &lt;/StackPanel&gt; &lt;/Grid&gt; &lt;/DataTemplate&gt; &lt;/ComboBox.ItemTemplate&gt; &lt;/ComboBox&gt; </code></pre> <p>I want to return the ename in text box </p> <p>and show the code only when I choose from list</p>