SilverLight-专注于DataGrid上的单元格 [英] SilverLight - focus on cell on DataGrid

查看:76
本文介绍了SilverLight-专注于DataGrid上的单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.
当屏幕上有很多组件时,
还有datagrid(silverlight 4),
当按下网格上的Tab键时,另一个组件被聚焦.
我想消除此行为,方法是在网格上按Tab键,然后在按Tab键时将焦点放在下一个单元格上.
我只想使用代码,而不要引用XAML文件(网格是在运行时动态构建的.)

我有框架4.0.

谢谢:)

解决方案

[ ^ ]可以为您提供一些想法.

Hello.
When I have many components on the screen,
and also datagrid (silverlight 4),
when pressing on tab key on grid, another component is focused.
I want to eliminate this behaviour when pressing tab on grid, and focusing on the next cell when pressing the tab key.
I want to use code only, and not refer to the XAML file (the grid is built dynamically on runtime).

I have framework 4.0.

Thanks :)

解决方案

This [^]could give you some ideas.


这篇关于SilverLight-专注于DataGrid上的单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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