i have replaced WPF ribbons to the newest library, the combobox selection changed triggers reload of datagrid. I have problem with the RibbonComboBox.
If i leave with mousecursor out of the selected item, the selected item is reverted to the old item. if i keep cursor on the selected item until the datagrid reload is finished, the new value is accepted to the ribboncombobox.
Do i miss some special ribboncombobox property to accept change by click only or this is a bug in the combobox component? only possible workaround would be launch datagrid reload function in thread to let the ribbon combobox finish its processes.
sample code here:
<r:RibbonComboBox>
<r:RibbonGallery SelectedValuePath="Content" SelectionChanged="pgSize_SelectionChanged">
<r:RibbonGalleryCategory>
<r:RibbonGalleryItem Tag="20" Content="Size (20)" Foreground="Green" />
<r:RibbonGalleryItem Tag="30" Content="Size (30)" Foreground="Green" IsSelected="True"/>
<r:RibbonGalleryItem Tag="50" Content="Size (50)" Foreground="Orange" />
<r:RibbonGalleryItem Tag="100" Content="Size (100)" Foreground="Red" />
</r:RibbonGalleryCategory>
</r:RibbonGallery>
</r:RibbonComboBox>
This is a bug in the ribbon control. See the Connect bug report.
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