close stack buttons on MouseLeave Event

5 replies. Last post: October 7, 2009 7:03 AM by jesus galvez
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
jesus galvezMember

I have a WebFishEye menu over all my silverlight application. It's my main menu.

But when I leave the menu (MouseLeave event), I want to close stack buttons (arc or grid) that are displayed in that moment. The problems are:

- I don't find an attribute which tells me if WebFishEye has an open stack in this moment or not.

- I don't find a public method that closes an open stack programmatically (like it does when I push a button)

Does it exist, a way for closing a stack opened by user?  Am I missing something? Are you thinking about to include this feature in the next version of WebAqua?

 

What I'm looking for is something so simple like

 

void Menu_MouseLeave(object sender, MouseEventArgs e)

{

      Menu.CloseOpenedStacks();  

} 

 

In my application, I could wait until the user closes the stack by itself, but I don't have an event that alert about that user action. When the user expands the stack, I know it using

 

void Menu_ButtonClick(object sender, WebFishEyeButtonEventArgs e)

{      if ((((WebFishEyeButton)(e.Button)).StackMode == WebFishEyeStackMode.ArcStyle) ||  (((WebFishEyeButton)(e.Button)).StackMode == WebFishEyeStackMode.GridStyle))

     {

        bOpenedStack = true;

     }

}

     }

}

   

 

I would like to put bOpenedStack = false;   in a second click but when the user collapses the stack, not an event is trhown!!! 

Thank you in advance.   
All times are GMT -5. The time now is 2:32 AM.
Previous Next