Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: CheckComboBox Binding Data

$
0
0
Hi,

Here's a solution :
List<string> listOfItems = new List<string>() { "abc", "def", "ghi", "jkl" };
List<string> selectedItems = new List<string>() { listOfItems[0], listOfItems[2] };
_checkComboBox.ItemsSource = listOfItems;
 _checkComboBox.SelectedItemsOverride = selectedItems;

Viewing all articles
Browse latest Browse all 2157

Trending Articles