开发者

WPF DataGrid selected row stays highlighted even when user clicks another control

Is it possible to turn off the selected row highlighting when a user clicks another control in the window?

Tha开发者_StackOverflow社区nks in advance.


You could set the SelectedIndex to -1 in the LostFocus event, thus losing the selected item and removing the highlight.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜