Habanero.Faces.Base HabaneroMenu in C# (CSharp): 34 esempi trovati. Questi sono i migliori esempi reali in C# (CSharp) per Habanero.Faces.Base.HabaneroMenu, estratti da progetti open source. Li puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
A class for managing a menu including its list of sub menus (other Habanero Menus). This class is used by a menu builder to build a specific Menu e.g. A main menu e.g. MainMenuWin or an outlook style menu e.g. CollapsibleMenuWin. With this class you can either AddSubMenu or AddMenuItem. Where adding a sub menu will create another HabaneroMenu and adding a MenuItem will add a leaf item to the menu. Selecting a SubMenu will cause the sub Menu to expand. Selecting the MenuItem(Item) will cause the relevant controller to be executed the order in which this occurs is as follows.
Any CustomMenuHandler (set via the Item.CustomHandler will take precidence) i.e. you can make the menu item do anything you want via a custom handler.
The FormControl Creator takes precedence next this is typically used by the Form Controller to manage the form (usually in an MDI type environment)
The ControlManagerCreator takes Precedence next this is typeically used in an SDI type interface where the menu item swaps out the control. (e.g. in a outlook style menu)