How to link test data with SketchFlow ComboBox?

I was unable to successfully bind some test data to the SketchFlow ComboBox. I added a sample data source and created a collection with some basic string values. There are a number of guides to binding to a ListBox in SketchFlow, and it works just fine without finding anything for the ComboBox.

+3
source share
2 answers

It seems to work as I expected, so maybe I misunderstand your problem, but I will give it a chance! I created a DataSource sample with several rows in it, added a ComboBox to the root of the layout, and then just dragged the collection from the DataSource and dropped it onto the ComboBox.

, DataSource, DataContext ComboBox , . ItemsSource, DataSource ItemTemplate DisplayMemberPath, ComboBox, .

, , ItemTemplate , , , StackPanel ComboBox. ItemTemplate DisplayMemberPath , .

+1

, , , , " ", ( ).

+3

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


All Articles