Hi,
I have a Combo populated with values directly in the XAML file and I have to bind its SelectedItem to an XmlDataProvider.
I try this but it seems to not work..
<ComboBox DataContext="{StaticResource xmlProvider}" SelectedValue="{Binding XPath='//BLOCK[@id=1]/ITEMS/ITEM[@id=2]/@value', Converter={StaticResource ComboItemConverter}}"><ComboBoxItem>One</ComboBoxItem><ComboBoxItem>Two</ComboBoxItem><ComboBoxItem>Three</ComboBoxItem></ComboBox>
How can I do?
Daniele.