Hi
I am trying to use xamComboEditor. In my main project the items have a white foreground and background colour, unless I mouse over the item - in which case I can see the text. Otherwise it just looks blank.
In a stand alone project I can get it too work?
I have tried to apply themes and it still doesnt work?
I cant find anything that would clash with it.
Please help
Chris
code behind binds to dataset then....
this.itemsProvider1.DisplayMemberPath = "Desc";this.itemsProvider1.ValuePath = "ID";
I worked out how to clear the text, so it looks to the user there is nothing selected. Cheers
Sorry to be annoying more info though to save time. The selected index changes to -1, however the display text does not update to display blank? I guess thats the problem...
Thanks
Oh yeahI have tried this
this.cboSomething.SelectedIndex = -1;
Thanks for your help on that one. have struggled to find the clash but can work it on the window resources.
Do you know how i can reset the combo box to display without a selectedItem? I have a master detail layout, I wish to change the combo back to default empty and then re-bind the data, so if no selected value for new record the combo doesnt maintain its previous state?
Thanks in advance
Whether you can do this at the page/app/window resources level will depend on whether the elements already have a local style. If they do (e.g. because you set the Theme property) or because there is another local style "closer" to the element then you may not be able to. If that isn't the case then you could possibly do something like: