积极答复者
一个对话框,如何设置默认焦点

问题
答案
-
用FocusManager
FocusManager.FocusedElement="{Binding ElementName=cmbCategory}"
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Sheldon _XiaoModerator 2012年11月22日 7:00
全部回复
-
用FocusManager
FocusManager.FocusedElement="{Binding ElementName=cmbCategory}"
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Sheldon _XiaoModerator 2012年11月22日 7:00