I wish it was that simple. Unfortunately, when I set the Focusable property
to "false", the button will no longer receive focus and IsFocused is never
set to "true".
I find it strange that the dotted line is not part of the visual tree.
Any other ideas?
"Erik Thomas" wrote:
> Set the Button property:
> "Gary F" wrote:
> > "When a button has the keyboard focus, the system typically highlights the
> > text, icon, or bitmap of a button by surrounding it with a dotted line." from
> > Windows SDK.
> > When I press ALT or the TAB key, the button with focus is surrounded with a
> > dotted line. Is there a way to turn this off?
> > It just doesn't look good for non-rectangular buttons.