I have a ribbon window, with rounded Office menu. Recent file functionality is working correctly when the user clicks on the Office menu button (not shown in the picture)
- I would like to show my settings UI (preferably implemented as UserControl xaml) in this Office menu area.
- I would like to keep the recent files functionality when the user is not clicking to any menu item, just clicked on the rounded Office menu button.
- I would like to keep the rounded menu button _if_ possible. If that is possible only with a _very_ complicated hack, then this requirement is optional, but the end users have _strong_ preference for this look and feel.
Please see the picture: http://screencast.com/t/Jm4RiXJDiEXZ
Thanks in advance.
(PS: I know it is off topic, but how can I upload picture from my local computer? The insert/edit image button brings up a dialog, and there I can only give an _URL_ to the pic, and no upload facility)
Hi Justin,
I am just checking, if you need any further assistance on this matter.
Hi,
Thank you for your reply. I have been looking into your requirement and it seems that it can be achieved by using only menu tool like:
<igRibbon:MenuTool Caption="Theme"
ButtonType="DropDown" >
<local:MyUserControl Height="600" Width="600"
</igRibbon:MenuTool>
I am attaching a modified version of my sample application(Ribbon_Style2.zip) that shows this approach.
Let me know, if you need any further assistance on this matter.
Hi Yanko,
Thanks for your answer. Sorry for the misunderstanding, but this is not I would like to implement.
First of all the content of the Settings should only be show after the user clicked to the Settings menu item. This case a UserControl content is showed in the area, and not the recent files. If the user just click to the Office button, then (not to specific sub item, then the recent files are appear.) Generically I would like to show different contents, when the user clicks on different menu items in this area, just like in Office tools.
(please note: my trial 30 day support expires 3rd Oct, I may or may not be answer to you)
Thank you for your reply. I was looking into your requirement and I managed to achieve the desired behavior by re-templating the default template of ApplicationMenuPresenter. I added User Control in the StackPanel of the Border, called RecentItemsBackGround. Also I set its Width and Height.
I am attaching a sample application(Ribbon_Style.zip) that shows my approach.
You could find all styles of the visual elements of the XamRibbon in:
C:\Program Files (x86)\Infragistics\2014.1\WPF\DefaultStyles\Ribbon\RibbonGeneric.xaml
Please use the link in my
Also please note: I was writing about to keeping the working recent files funtionality, and "how to implement" the settings content (while keeping the the working recent files)
Please let me know if my original post is not clear regarding in details.