阅读背景:

使用MVVM在WPF中设置焦点

来源:互联网 

I have Grid with multiple Textboxes. Depending on actions the user might take focus should be changed to one of the textboxes. My current solution uses a string property in the ViewModel and a data trigger in xaml to change focus. It works nicely but it seems a rather roundabout way to achieve this so I was wondering if it could be done in a clearner way?I have Grid with multiple Textboxes. Depending




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: