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
45
Group Variant and ReduceImageAndTextLargeTools
posted

Hi,

We bought a license for NetAdvantage for WPF 2007 Vol. 2  and applied the hotfix (version 7.2.20072.2001). We tried using the Group Variant feature as we want to maximize the real estate on the ribbon while the user resizes the application window. Most of the Resize Mode works with the exception of ReduceImageAndTextLargeTools.

 Using this code:

<igRibbon:RibbonGroup x:Name="portfolioViewRibbonGroup"
                      Caption="Portfolio Views"
                      SmallImage="/Resources/Images/icon_portfolioView.png">
    <igRibbon:RibbonGroup.Variants>
        <igRibbon:GroupVariant Priority="5" ResizeAction="IncreaseHorizontalWrapRowCount" />
        <igRibbon:GroupVariant Priority="10" ResizeAction="ReduceImageAndTextLargeTools" />
        <igRibbon:GroupVariant Priority="35" ResizeAction="ReduceImageAndTextNormalTools" />
       
    </igRibbon:RibbonGroup.Variants>
    <igRibbon:ToolHorizontalWrapPanel MinRows="3">
        <igRibbon:ButtonTool x:Name="positionsButtonTool"
                             igRibbon:RibbonGroup.MaximumSize="ImageAndTextLarge"
                             Caption="Positions" />
        <igRibbon:ButtonTool x:Name="transactionsButtonTool"
                             igRibbon:RibbonGroup.MaximumSize="ImageAndTextLarge"
                             Caption="Transactions" />
        <igRibbon:ButtonTool x:Name="gainlossButtonTool"
                             igRibbon:RibbonGroup.MaximumSize="ImageAndTextLarge"
                             Caption="Gain/Loss" />
    </igRibbon:ToolHorizontalWrapPanel>
</igRibbon:RibbonGroup>

 Buttons still the code doesnt work:

 XamRibbon

Parents
  • 54937
    Offline posted

    I believe this issue was found and addressed after the version you mentioned. If you do not have access to a later hotfix or you find that you are still experiencing the issue then you should contact the support group. If you're still able to reproduce the problem please provide a sample project.

Reply Children
No Data