Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem in RibbonControlLibrary
    primarykey
    data
    text
    <p>I am facing an issue in Microsoft's <code>RibbonControlLibrary</code>. I have created a simple WPF application and I am using <code>RibbonControlLibrary</code> to create a ribbon bar on top. Problem is shown in image below.</p> <p><img src="https://i.stack.imgur.com/sYRFp.png" alt="enter image description here"></p> <p>Problem is that Menu under "Something" on only expand as much as there are items in left menu i.e. Item1, Item2... If I increase an item in left menu I get this<img src="https://i.stack.imgur.com/dpS0o.png" alt="enter image description here"></p> <p>but there are sill items missing in menu under Something. </p> <p>below is XAML I am using</p> <pre><code> &lt;Ribbon:Ribbon ItemsSource="{Binding Path=CSIMRibbonTabs}"&gt; &lt;Ribbon:Ribbon.ApplicationMenu&gt; &lt;Ribbon:RibbonApplicationMenu CanUserResizeVertically="True" ItemsSource="{Binding Path=MainItem}"&gt; &lt;Ribbon:RibbonApplicationMenu.AuxiliaryPaneContent&gt; &lt;Grid&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition /&gt; &lt;RowDefinition Height="*"/&gt; &lt;/Grid.RowDefinitions&gt; &lt;Border &gt; &lt;StackPanel Orientation="Vertical"&gt; &lt;Label Content="Something" /&gt; &lt;/StackPanel&gt; &lt;/Border&gt; &lt;ItemsControl Grid.Row="1" ItemsSource="{Binding Path=OtherItems}"/&gt; &lt;/Grid&gt; &lt;/Ribbon:RibbonApplicationMenu.AuxiliaryPaneContent&gt; &lt;/Ribbon:RibbonApplicationMenu&gt; &lt;/Ribbon:Ribbon.ApplicationMenu&gt; &lt;/Ribbon:Ribbon&gt; </code></pre> <p>code</p> <pre><code> public List&lt;string&gt; MainItem { get { return new List&lt;string&gt;() { "Item1", "Item2", "Item3"}; } } public List&lt;string&gt; OtherItems { get { return new List&lt;string&gt;() { "val1", "val2", "val3", "val4", "val5", "val6", "val7", "val8" }; } } </code></pre> <p>What should I do to expand menu under "Something" as much as there are items in the list?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload