Ok, I would have thought this was a simple question, but apparently it's got me confused.
When I try to set the height of my RibbonComboBox, it's not moving actual size of it, just the box that surrounds it.
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, Eroc
You can change the height easily if you set the DropDownHeight
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With