Group in Contextual Tab group - always collapses

Ribbon for WPF Forum

Posted 9 years ago by FinallyInSeattle
Version: 9.1.0507
Avatar
I have the following scenario:

<ul>
  • I add a ContextualTabGroup programatically at runtime.
  • This ContextualTabGroup contains one Tab & one Group.
  • I add Variants to this Group as follows:
  • newGroup.Variants.Add(new GroupVariant(60, VariantSize.Medium));
          newGroup.Variants.Add(new GroupVariant(110, VariantSize.Small));
    
  • Each button has both a small and large image assigned to their commands.
  • </ul>

    As I reduce the width of the window, as soon as the entire group doesn't completely fit, the group drops down to the "Collapsed" variant. It never steps down to Medium or Small. Is there something that I'm missing?

    Thanks in advance!

    Comments (1)

    Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
    Avatar
    What if you set up Group variants before you add the group to the Tab? If that doesn't help, please make a simple sample project that shows the issue and email it over. Thanks.


    Actipro Software Support

    The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

    Add Comment

    Please log in to a validated account to post comments.