Hi,
It looks like xamRibbon only supports 32x32 for the LargeImage size. Unfortunately our large image size is 24x24. We have hundreds of these icons, any of which can appear in the ribbon's application menu. Recreating all of these at 32x32 would be a major undertaking.
Is there any way to change the ribbon's large image size in xamRibbon? You can do this in the WinForm version of your ribbon control.
If not, any advice you can throw my way?
Thanks,Jim Honeycutt
The sizes (width/height properties) of the image elements is actually determined in the xaml and not by any property on the xamRibbon so to change the size used by the elements you would need to create modified versions of the templates. We ship the default styles/templates with the product in the DefaultStyles directory so you could use that as the basis for creating your own modified templates.
Hello Andrew, I'm building an application that, according to the user screen resolution detected at runtime on the user's machine, will use images proportionally resized. Big resolution... big images.
So I would love to change the LargeImage and SmallImage default sizes. Is there one single place where I may do such a change for any window in my app, or should I customize each component (ie Outlook Bar, Grid)?
It would be nice to have this value overridable either in code and in xaml.I have a singleton helper class that detects the screen resolution and sets a couple of FontSize property like Standard (to be used as normal text) and a couple more increasinlgy larger or smaller.
Then I bind the fontsize in xaml for each window like this:FontSize="{Binding Source={x:Static utility:LayoutHelper.Instance}, Path=FontSizeStandard}" or FontSize="{Binding Source={x:Static utility:LayoutHelper.Instance}, Path=FontSizeTitle}" and those dimensions are related to the user screen resolution.
I use the same criteria for the icons I use in my software. Now I would love to do the same when I use your controls. Can you be as detailed as possible on how I can accomplish this? What syntax should I use to create a template that has, as only difference, the LargeImage and SmallImage size.
Best Regards
Thanks Andrew!