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
670
Container Control in Ribbon - going nuts
posted

Please folks: how can i add a container control to a ribbon group without it taking all the vertical space? I want it to appear below the previous control. 

Parents
  • 3255
    Suggested Answer
    posted

    Hello John,

    Please try to set the InstanceProps.MinimumSizeOnRibbon and InstanceProps.PreferredSizeOnRibbon properties of ContainerControlTool to Normal.

    See below lines of code:

     

    ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools[

    "ControlContainerTool1"].InstanceProps.MinimumSizeOnRibbon = Infragistics.Win.UltraWinToolbars.RibbonToolSize.Normal;

    ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools

    "ControlContainerTool1"].InstanceProps.PreferredSizeOnRibbon = Infragistics.Win.UltraWinToolbars.RibbonToolSize.Normal;

    Asma
    Developer Support Engineer
    Infragistics
    www.infragistics.com/support

Reply Children
No Data