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
2370
Can't collapse QuickAccessToolbar when using Office2013 theme
posted

See the attached sample.

Changing the visibility to Collapsed on the QuickAccessToolbar doesn't do anything.  I don't want the white space there above the tabs in the XamRibbon.

Note: Another application that also uses the XamRibbon properly hides that line.  The only difference is that the other project uses XamRibbonWindow, but I can't use that in my case.

cant_collapse_quick_access_toolbar.zip
Parents
No Data
Reply
  • 1935
    Verified Answer
    posted

    Hello Jon Heaton,

    In order to remove the white space above the tabs, "rootVisual" Grid element should be get from the visual tree of the XamRibbon. Infragistics has Utilities class that has methods for getting an element by name and type. After the grid element is found, its first row definition's MinHeight should be set to 0.0. Please keep in mind that still there be some very little white space above the tabs. That is the Separator. By using the Utilities class, the separator's Visibility is set to Collapsed.

    Please take a look at the attached sample and let me know if you have any other questions on that matter.

    Thank you for using Infragistics controls!

    cant_collapse_quick_access_toolbar_Modified.zip
Children
No Data