Setting the collapse for a group

Jun 17, 2010 at 4:16 PM


I am trying to get a button in the ribbon that when click it expands and displays the submenu ( like the "Move Details" button that is diplayed at the bottom in the 4rd picture at

It doesn't matter what value I give to the IsCollapse it always behaves as if it was set to false, eventhough it is set to True.

Here is the code. If someone could please point out what I am doing wrong



  <r:RibbonGroup >
                        <r:RibbonCommand LabelTitle="Table"
                                <r:RibbonControlSizeDefinition ImageSize="Small" IsLabelVisible="True"/>
                                <r:RibbonControlSizeDefinition ImageSize="Large" IsLabelVisible="True"/>
                            <r:RibbonGroupSizeDefinition IsCollapsed="True"/>
                    <r:RibbonButton Command="{StaticResource TableRowCommand}"/>
                    <r:RibbonButton Command="{StaticResource TableColumnCommand}"/>