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
905
Unable to change size of ButtonTool in XamRibbonApplicationMenu2010
posted

There is a similar post:
MaximumSize of RadioButtonTool cannot be "ImageAndTextLarge"

Am I missing something - am unable to affect the size of the graphic

Example page:
ApplicationMenu2010.xaml

If I change the MaximumSize="ImageAndTextNormal"

To

MaximumSize

 

 

="ImageAndTextLarge"

There is no change in the size of the graphic

 

 

 

 

<ig:ButtonTool MaximumSize="ImageAndTextNormal" Caption="{Binding Source={StaticResource Strings}, Path=XWR_SaveButton}" LargeImage="/Infragistics.Samples.Silverlight.Resources.LOB;component/Images/Samples/XamRibbon/Save32.png" SmallImage

="/Infragistics.Samples.Silverlight.Resources.LOB;component/Images/Samples/XamRibbon/Save16.png"/>

Thank you!

Parents
No Data
Reply
  • 6475
    Verified Answer
    posted

    Hi,

    So, the MaximumSize and MinimumSize properties will only affect the visual appearance of the ButtonTool when it's placed on the main ribbon surface (inside a Ribbon Tab). The visual state cannot be changed when the tool is placed on other locations, like the QuickAccessToolbar or the ApplicationMenu.

     

    Hope that helps,

Children