我在我的viewmodel中验证用户输入并在任何值验证失败的情况下抛出验证消息.
我只需要将焦点设置为验证失败的特定控件.
知道怎么做到这一点?
c# wpf mvvm setfocus
c# ×1
mvvm ×1
setfocus ×1
wpf ×1