Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: ItemsSource dynamic for a CheckComboBox in a custom editor

$
0
0
Hi,

I want to bind a List to the ItemsSource property of a CheckComboBox to be able to update ItemsSource property dynamically. The CheckComboBox is in a User Control Custom Editor (implementing ITypeEditor). Binding in Xaml doesn't work :
<xctk:CheckComboBox x:Name="_checkComboBox" 
                            IsDropDownOpen="false"
                            MaxDropDownHeight="100" 
                            SelectedItemsOverride="{Binding Value}"
                            ItemsSource="{Binding ItemSourceList}"
        />
And if i bind in code behind, i don't know how to update de itemsSource property of the CheckComboBox. UpdateSource and UpdateTarget does't work.

Thanks.

Viewing all articles
Browse latest Browse all 4964


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>