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
80
Ribbon Control Minimum Size for Display
posted

I have ribbon control on a form... The form has only two edit control with very small size... the Ribbon is properly displayed in the design mode (IDE VS2005)... but when i run the application the ribbon is not displayed properly (no tools and no round button). Only the centralized caption/title of the form is displayed in centre....

while running the application, when i resize the form... then after increasing the size of form, the ribbon displays properly but it leaves many free space on the form which is useless for me (and against the UI)

Please help me that how could i make the ribbon control visible for forms having small size with couple of inpue controls...

Thanks,

- Kashif

 

Parents
No Data
Reply
  • 44743
    Verified Answer
    posted

    It sounds like your form at runtime is smaller than the ribbon's auto collapse threshold. Try setting the AutoCollapseThresholdHorizontal and AutoCollapseThresholdVertical to 0. These properties are defined on the Ribbon and to set them you must set Office2007UICompatibility on the toolbars manager to False.

Children