Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I would like to kindly ask you for advice. I'm trying to make a ApplicationMenu which will be visible or not, or will handle event, depends which page is loaded to the form.
<ribbon:Ribbon x:Name="Ribbon">
           <ribbon:Ribbon.ApplicationMenu>
               <ribbon:RibbonApplicationMenu x:Name="Kaizen">
                   <ribbon:RibbonApplicationMenuItem x:Name="Main" Header="Close"/>
                   <ribbon:RibbonApplicationMenuItem x:Name="KaizenSaveItem" Header="Save"/>
                   <ribbon:RibbonApplicationMenuItem x:Name="KaizenSaveItem1" Header="Clear"/>
                   <ribbon:RibbonApplicationMenuItem x:Name="KaizenSaveItem2" Header="Close"/>
</ribbon:RibbonApplicationMenu>

           </ribbon:Ribbon.ApplicationMenu>

This is my code for the first page - code for Menu. But what I want to do is to allow user to use that menu, whatever page he will load (I have 3 pages - Kaizen, Question, Upload). So for each I have to create this kind of menu, to for example save the data to the database from loaded page, or there is something to run the code, depends which page is loaded?
Thank you in advance
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900