I am sending focus to a WPF label programmatically. However, when I do this a dotted line appears around the label. I do not believe that this is the border brush, especially since I explicitly set it to be Transparent. Does anybody know how I can get rid of this dashed/dotted line?
If it helps, the dashes appear only on the left and right. And, the label is within a StackPanel.
Have you tried clearing out its
FocusVisualStyle?