取ListBox中TextBlock的值。
<ListBox Height="50"
HorizontalAlignment="Right" Name="listBox3"
VerticalAlignment="Top" Width="50" Canvas.Left="0" Canvas.Top="91" MouseLeave="Ellipse_MouseEnter">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Name="ttts" Width="40" Height="40" HorizontalAlignment="Center">
<Border BorderThickness="1" Background="Blue" Name="bor">
<TextBlock Text="{Binding Name}" Name="test1" Width="40"
Height="40"
HorizontalAlignment="Center" />
</Border>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
取TextBlock Text的值。