2012年9月20日 星期四

windows 8 set focus

It seems that there is no setFocus() method anymore. Instead, windows 8 includes the Windows.UI.Xaml.FocusState for different focus state, like: pointer, keyboard, etc.

The usage would be like:
ViewObjectName.Focus(Windows.UI.Xaml.FocusState.Pointer);

沒有留言:

張貼留言