Skip to content

Can focus rectangle be removed when tabbing to rounded button? #17479

Answered by msneijders
TangDave asked this question in Q&A
Discussion options

You must be logged in to vote

A control (like the Button) has a property FocusAdorner you can set -- if its not set you get the DefaultFocusAdorner as mentioned above.

Use something like:

        <Style Selector="Button">
            <Setter Property="FocusAdorner" />
        </Style>

Or override the default ControlTheme of the button which sets this property.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@TangDave
Comment options

@msneijders
Comment options

Answer selected by TangDave
@TangDave
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants