I am trying to solve problem with communication between items in listbox with template. Lets say i have template:
<DataTemplate x:Key="Template">
<StackPanel HorizontalAlignment="Stretch">
<TextBox Name="A" FontSize="17" Margin="5,5,5,1"></TextBox>
<TextBox Name="B" FontSize="15" Margin="5,0,5,1"></TextBox>
</StackPanel>
</DataTemplate>
And when i type data on Textbox
B and press ENTER i call method that sends typed text to Textbox
A. Problem is how i can create such keydown metod for template items in listbox item and what if i will heve more than one item?