locked
Multiple clicks and events RRS feed

  • Question

  • Hello,
    I am trying to make a button that on the first click plays storyboard1 and on the second click plays storyboard2. I am using the storyboard1 to hide a menu and I want storyboard2 to make the menu visable again. Does anyone know a good way to approach this? My button is a style resource defined in my window.xaml.

    Thanks for any help,
    Brian
    Thursday, September 3, 2009 8:02 PM

All replies

  • Can't you just check if the Menu is visible or not?
    If its visible play Storyborard 2 to hide else play Storyboard 1.
    Friday, September 4, 2009 5:13 AM