Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
380
Button Styling
posted

I am having an issue with styling my buttons concerning the borders.  I want to use hot tracking which is straight-forward enough.  However, I want to remove the border that appears around the current control.  I see plenty of states that I would think should apply but for the life of me I cannot find out how to turn off that border.  I have tried making all borders transparent on every state in "Base" thinking that surely that would do it, but it doesn't.

There is another dashed/dotted border that I don't mind keeping although I can't find that either.  Are these options configurable?

Parents
  • 469350
    Offline posted

    Hi,

    My guess is that you are using themes (which are on by default) and therefore none of the appearances have any effect, since the Windows Theming API overrides all of them.

    So set UseOsThemes to false.

    You might also need/want to change the DisplayStyle on the button to a style that doesn't show borders.

Reply Children