Take the 2-minute tour ×  how to get value from the textblock ,
which is present in listbox ....  here is the code xaml :
<ListBox Height="707" HorizontalAlignment="Left"
Margin="12,0,0,0" Name="listBox1" VerticalAlignment="Top"
Width="456" Background="White" Foreground="#FF09090C"
ItemsSource="{Binding}"
SelectionChanged="listBox1_SelectionChanged">
<TextBlock Name="textBlock3" FontSize="18" Foreground="Blue"
Margin="2" Text="{Binding Title.Text}" TextWrapping="Wrap" />
<TextBlock FontSize="16" Foreground="Gray" Margin="2"
Text="{Binding Summary.Text}" TextWrapping="Wrap" />
<TextBlock FontSize="1" Foreground="Gray" Margin="2"
Text="{Binding Id}" TextWrapping="Wrap" Visibility="Collapsed"
/>                 <Button Name="h1" Content="Press" Height="10"
Width="40"></Button>                 <TextBlock
Foreground="Gray" Margin="2" Text="_____________________________
___________________________________________________________"
FontSize="8"/> share|improve this ques