RKM
RKM

Reputation: 3241

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

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 :)

Upvotes: 2

Views: 2124

Answers (2)

WaltiD
WaltiD

Reputation: 1952

What about <Button Focusable="False" />

Upvotes: 2

CodeNaked
CodeNaked

Reputation: 41403

I believe you are looking for the Focusable property.

Upvotes: 9

Related Questions