I am new in WPF, so I think it's a simple question. The problem is that I cannot get the textbox name. The textbox is inside the GridView. Is there any solution for it? The textbox is under the DataTemplate.
XAML
<GridViewColumn.CellTemplate >
<DataTemplate >
<StackPanel >
<TextBox x:Name="txtPurchasePrice"
Width="60"
TextChanged="txtPurchasePrice_TextChanged" />
</StackPanel>
</DataTemplate>
</GridViewColumn.CellTemplate>