天天看点

ScrollViewer内的TextBox无法直接获得焦点

ScrollViewer内的TextBox无法直接获得焦点

Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Render,new Action(() => txtBoxHerbName.Focus()));