WPF RibbonComboBox Height

Nov 23, 2010 at 11:50 AM

Ok, I would have thought this would be a simple question, but I don't see the answer right off...

When I try to set the height of my RibbonComboBox, it's not moving actual size of it, just the box that surrounds it.

You can see what I am referring to here:

Example

Here is my XAML:

 

      <ribbon:RibbonComboBox                                                             
                        DisplayMemberPath="CompanyCode" 
                        Height="22" 
                        Margin="0,0,0,-30" 
                        VerticalAlignment="Bottom" 
                        Width="102">
                    <ribbon:RibbonGallery SelectedValue="{Binding Path=Companies.SelectedItem, ValidatesOnDataErrors=true, NotifyOnValidationError=true }">
                        <ribbon:RibbonGalleryCategory ItemsSource="{Binding Path=Companies.Items, NotifyOnValidationError=true, ValidatesOnDataErrors=true}" />
                    </ribbon:RibbonGallery>
      </ribbon:RibbonComboBox>

 

I can change the height to 200 or 1 but the height never changes.

What am I doing wrong?

Thanks,
TG

Jun 22, 2011 at 2:45 PM

Hi,

I've run into the same issue. Very confusing behaviour. Is this a bug? How can I workaround this?

thanks,

Danny

Aug 25, 2011 at 7:34 AM

I have the same issue too, can anybody give a suggestion?