How to bind RibbonComboBox data?

I am using wpf 4 and Microsoft tape. My binding shows the names of each user in the Users list, but the selection does not appear in the RibbonComboBox after closing the drop-down list.

thanks

+4
source share
1 answer

This worked for me:

XAML:

... <r:RibbonComboBox IsEditable="True"> <r:RibbonGallery > <r:RibbonGalleryCategory ItemsSource="{Binding}" Name="userBox" /> </r:RibbonGallery> </r:RibbonComboBox> ... 

WITH#

 ... userBox.ItemsSource = LoadComboBoxUser(); ... 
+4
source

Source: https://habr.com/ru/post/1342879/


All Articles