Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    It worked !!!!!! Thank you very much !!! I don't have enough reputation to vote up for you. Sorry.... Commented Feb 9, 2014 at 8:12
  • No problem S.K. Glad to help..!! Commented Feb 9, 2014 at 8:17
  • 1
    P.S, I got over the foregroud color issue by painting it black when selected. Commented Feb 9, 2014 at 10:30
  • this works for me (as far a the color goes) except the toggle button won't open the item anymore. :-( Commented Dec 24, 2018 at 12:41
  • 2
    So I changed the IsChecked on the ToggleButton to IsChecked="{Binding IsExpanded, RelativeSource={RelativeSource TemplatedParent}}" and now it's working. Commented Dec 24, 2018 at 12:47