What is the default color of a button in WPF?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vikram Raman
    New Member
    • Feb 2010
    • 24

    What is the default color of a button in WPF?

    I want to change the button background color when the button is clicked, and i want to refill with the default color when other button is clicked. similar to tab control.
    I am doing this with code behind.
    But i cannot find out the default color.


    Please tell me the default color including border color


    With regards,
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Create a button, do not assign a color.
    Read the color it gets by default.

    Comment

    Working...