我正在这个应用程序中处理window8 metro 应用程序我正在插入两个图像按钮,在模拟器中我是鼠标模式指针,这次输入了焦点。
我正在实现此代码...
private void button_PointerEntered(object sender, Windows.UI.Xaml.Input.PointerEventArgs e)
{
System.Diagnostics.Debug.WriteLine("Pointer Entered");
Button thisButton = (Button)sender;
thisButton.Focus(FocusState.Unfocused);
}
如何禁用鼠标指针输入的焦点?