Unwanted dotted-line selection aroudn empty text for WPF RadioButtons
I have two radio buttons next to each other, and even though each one has no Content/Text, there is this ugly little dotted-line box that shows up n开发者_开发问答ext to which ever one has the focus (I think it wrapping the place where text/label would normally be). Can I get rid of this?
You should be able to remove this by simply setting the FocusVisualStyle property to null:
<RadioButton FocusVisualStyle="{x:Null}" />
精彩评论