I need to be able to bind to a collection in the code-behind. Since the data in all the examples here exists in the XAML, the part that I need is not here. The article looks like a really good article, but to help me, the collection needs to exist in code-behind.
In the conversion example (06), the converter doesn't work properly with other cultures than English. The converter uses culture interpreted values as input in the textbox because of the parsing from string to double. The return value though, is not interpreted. Therefore the converted returnvalue is written in the other textbox with English style decimal separator which is ignored by the TemperatureToColorConverter.
eg.: 40,5 Fahrenheit is converted to 4.722222 Celsius
The (Celsius)TemperatureToColorConverter interpretes the value as 4722222 and makes it RED
Great article though I think I need part 2. Can you post the link?
Or even better help with my problem?
Binding one combo box to a child combo box and sub child etc. Each combo box expanding and data from data source table. eg Customer - date - Order - item .... but
Customer is from one data source and the other columns from another.