Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
289
Queries regarding XamRibbon
posted

 Hi there,

There are couple of queries regarding the XamRibbon which we want to

1- We have defined the short Cut Key for the commands in application Menu and they are working all well but we been unable to show to the user whihc short cut key is applicable to each command. e.g Ctrl + S is for save. We want to show this command as  Save rather than Ctrl + S. How do we carry out this step. How do we incorporate the character '&' for showing short cutkey for a command. Followig is the code snippet for menu items.

<igRibbon:ApplicationMenu.Items>
<igRibbon:ButtonTool x:Uid="igRibbon:ButtonTool_1"  Caption="Save Layout" Click="ButtonSave_Click" LargeImage="Resources\Images\File_Save.png"/>
<igRibbon:ButtonTool x:Uid="igRibbon:ButtonTool_2" Caption="Save Layout As" Click="ButtonSaveAs_Click" LargeImage="Resources\Images\File_Save.png" /> </igRibbon:ApplicationMenu.Items>

2- Instead of loading png image files we want to load the xaml icons. We can easily load the xaml icon and the label in our defined button and load the buttonto the Group but this doesn't give us the desired flexibility as provided by the buttontool. Is there a way to load xaml icon into the buttontool?

3- Is there a way that we can decrease or increase the size of the XamRibbon

4- We don't want to display the Quick Access Toolbar and we have set its visibility to collapsed/hidden. We also don't want to show the QAT entris in the context menu which is there when the user right clicks on any group or Tab Item. How do we hide the QAT stuff in the Context Menu?

5- What if we want to embed the Application Menu button and the QAT on each of our individual control window. Is that feasible and advisable?

Thanks in advance for your feedback 

Ferhaad 

 

Parents
No Data
Reply
  • 80
    posted

    regarding item 4, and not asserting the legal aspects of this solution,  the QAT can be removed with this line of code on your loaded event handler:

    ribbon.QuickAccessToolbar.Visibility = System.Windows.Visibility.Collapsed;

     

Children
No Data