How to set focus to a brand new TextBox which was created as a result of a databinding in WPF?
- by Mike
Hi everyone,
I have a WPF ItemsControl that is bound to an ObservableCollection.
The XAML:
<ItemsControl Name="mItemsControl">
<ItemsControl.ItemTemplate>
<DataTemplate>
<TextBox Text="{Binding Mode=OneWay}"></TextBox>
</DataTemplate>
…