Search Results

Search found 1 results on 1 pages for 'submarinex'.

Page 1/1 | 1 

  • WPF: In Expression Blend, how to change Foreground of a custom button with a Border on different states?

    - by SubmarineX
    In Expression Blend 4, I want to change the Foreground of a custom button on different states. I'm just able to change the Background and BorderBrush. Just like this: If the state is "Normal", the color of text "Button" is Black, while the state is "Pressed", the color of text "Button" is White. On Brushes Panel under Properties Panel, there're 3 properties but no Foreground property: Who can help me? I'm so perplexed. Edit I find ContentControl have a Foreground property, but ContentPresenter haven't. Wether I should use ContentControl instead of ContentPresenter?

    Read the article

1