Silverlight combobox selecteditem not updating
property in WPF is extremely handy, because it is automatically inherited by all children of the element where you assign it; therefore you don’t need to set it again on each element you want to bind.
Naturally it is always easier to concentrate on the good, but that’s not my style.
I am constantly trying to improve my product to make your job easier so that you can meet your deadlines, and get your bonuses to help support your family.
Remove the cbo Layers_Selection Change code and instead bind the Items Source of the fields combobox to the selected item of the layers combobox.
The list of fields should update automatically as you select a different layer without the need for code behind.
When you get your layer data, then you can add the fields you requested to your cmb Fields Item Source. You're basically trying to implement cascading comboboxes.