第一光标位置不正确 [英] First Cursor position not in form

查看:149
本文介绍了第一光标位置不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生,

在打开WPF Apps时,光标位于窗体级别,然后仅在选项卡转到文本框后,从文本框选项卡光标再次转到窗体级别.我的引用是光标不在表单级别.我该怎么解决.

Dear sir,

while opening WPF Apps the cursor is in the form level then after tab only go to Textbox, from the textbox tab cursor go to again form level. My quotion is the cursor not go in the form level. How can i solve.

推荐答案

设置每个控件的KeyboardNavigation.TabIndex属性.如果您不希望控件成为制表符,请将KeyboardNavigation.IsTabStop属性设置为false.
Set each control''s KeyboardNavigation.TabIndex property. If you don''t want a control to be a tabstop, set the KeyboardNavigation.IsTabStop property to false.


这篇关于第一光标位置不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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