日期:2014-05-17  浏览次数:20948 次

WPF 如何激发Tab键?
winform中 System.Windows.Forms.SendKeys.Send("{Tab}");

WPF 中如何激发Tab键?

------解决方案--------------------
WPF用你当前焦点所在的FrameworkElement对象的MoveFocus方法:
FrameworkElement.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));