UWP中的触发返回键(Raspberry Pi 3) [英] Trigger Return Key in UWP (Raspberry Pi 3)

查看:76
本文介绍了UWP中的触发返回键(Raspberry Pi 3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hey Guys,

我在Raspberry Pi 3上使用带旋钮的旋转编码器。我将使用旋转编码器在控件之间移动焦点按钮将其用作返回键。 要在控件之间移动焦点,我使用FocusManager类(它可以正常工作
),但是我怎样才能按下按钮触发返回键?我现在不知道如何做到这一点,我希望你能帮助我。

i'm using a rotary encoder with button at my Raspberry Pi 3. I will use the rotary encoder to move the focus between the controls and the button to use it as a return key.  To move the focus between the controls i use the FocusManager class (it works fine), but how can i  trigger the return key by push the button? I don't now how to do this and i hope you can help me.

最好的问候,

Tretsch

Best regards,
Tretsch

PS:对不起我的坏事

P.S.: Sorry for my bad englisch

推荐答案

你好

我不确定我是否完全明白你的意思"但我怎么能 按下按钮触发返回键? "

i am not sure i fully understand what you mean with "but how can i  trigger the return key by push the button? "

您是否试图通过按下物理按钮从xaml控件中引发点击或点击或类似事件?

are you trying to raise a click or tapped or similar event from a xaml control by pushing a physical button ?

br

Andre

br
Andre


这篇关于UWP中的触发返回键(Raspberry Pi 3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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