>Hi all,
>
>Is there any way to set the focus to an WPF UserControl´s Element programaticaly?
>
>I can SetFocus to the UserControl, but how be set focus to one of its elements?
>
>Thanks in advance,
>A. Llano
My focus statements ussually end up looking like this:
Dispatcher.BeginInvoke(DispatcherPriority.Input,
new ThreadStart(delegate()
{
myUserControl.txtObject.Focus();
}));