XAML:使Enter键的行为类似于没有事件处理程序的tab char [英] XAML: Make enter key behave like tab char without event handlers

查看:149
本文介绍了XAML:使Enter键的行为类似于没有事件处理程序的tab char的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试寻找一种使回车键表现为制表符的方式.我需要不使用事件处理程序来做到这一点.

I am currently trying to find a way to make the enter key behave like a tab character. I need to do it without using event handlers. Any guidance on making this possible would be much appreciated.

推荐答案

Hi

有趣的事情,尤其是没有事件处理程序的时候!您可以重新连接键盘并交换Tab键和Enter键,至少这样用户将可以分别使用其中的一个.

Funny thing to ask, especially without event handlers! You could rewire the keyboard and swap the Tab and Enter keys, at least that way the user would have one of each.


这篇关于XAML:使Enter键的行为类似于没有事件处理程序的tab char的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆