开发者

How can I set "isfocusable" property to false for UIElements ( buttons) in WPF?

开发者 https://www.devze.com 2023-03-13 13:00 出处:网络
I\'m trying to set开发者_开发百科 the property of UIElement to not focusable, but there does not seem to be a isfocusable property for buttons. Does anyone have any suggestions? Thanks :) I believe yo

I'm trying to set开发者_开发百科 the property of UIElement to not focusable, but there does not seem to be a isfocusable property for buttons. Does anyone have any suggestions? Thanks :)


I believe you are looking for the Focusable property.


What about <Button Focusable="False" />

0

精彩评论

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