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
800
RibbonGroup inside a DockManager ContentPane
posted

Hi There,

I'd like to use a ribbongroup inside a DockManager ContentPane. I have it working, bu tthe layout doesn't seem to work correctly, this is what I have (Pseudo code)...

<ContentPane>

<RibbonGroup>

<ribbon:ButtonTool 
                   ribbon:RibbonGroup.MaximumSize="ImageAndTextLarge"
                   LargeImage="..."
                   SmallImage="..."/>

</RibbonGroup>

</ContentPane>

This works in that it shows the ribbon group, and the buttontool. But it does not respect the MaximumSize of the RibbonGroup. It always shows the small image.

it works correctly if I do this...

<ContentPane>

<XamRibbon>

<RibbonTabItem>

<RibbonGroup>

<ribbon:ButtonTool 
                   ribbon:RibbonGroup.MaximumSize="ImageAndTextLarge"
                   LargeImage="..."
                   SmallImage="..."/>

</RibbonGroup>

</RibbonTabItem>

</XamRibbon>

</ContentPane>

But I don't want the xamribbon or tab item. Is there a way to make the ribbon group layout work correctly without showing the xamribbon or ribbontabitem please?

Cheers

Jonathan

  • 2151
    Offline posted

    Hello Jonathan,

    The idea of the xamRibbon's elements are to be used inside the xamRibbon. These elements are never intended to be used as standalone and also their behavior is unpredictable and they are not tested in such fashion.

    If you require any further assistance on the matter, please let me know.

    Sincerely,
    Radko Kolev
    Senior Software Developer