I use following code for adding textbox as listbox item to the listbox:
TextBox sText = new TextBox();
sText.Template = FindResource("TextBoxControlTemplate") as ControlTemplate;
sText.Text = "hi";
LBATIModelsData.Items.Add(sText);
So, how put focus on the Textbox after adding to the listbox?
tnx