my Window has an array of double as a field :
double[] sizes = new double[] {1.0, 2.0, 3.0, 4.0};
and also a combo box which I want it to have exact Items as the array above.
can anyone help me with xaml binding this array as a resource for the combo box?
I don’t know what your code looks like but here’s an example of how to bind an array to a
ComboBoxCode behind: