Wpf itemssource binding not updating
It seems that the issue appears again in v220.127.116.114.
Additional side effect: when removing an item from bound collection, an empty row is still being shown for this item in the drop-down.
Sometimes the new item appears in the drop down though, even if the drop down has been opened and closed first. As you see, there is nothing special, just as simple as possible.
Though the WPF Combo Box displays its items properly while the Fluent Ribbon Combo Box does not (in that use case as described: first open the drop-down, then add items).
The first two has already been described, while the last one simply means that the update has to be pushed manually through to occur, using a call to Update Source on the Binding.
As you can see, each of the three textboxes now uses a different Update Source Trigger.
Should I create a new issue or better reopen this one?
For that reason, I have added a button next to the Text Box, which will update the source value on demand.It defaults to the value "Default", which basically means that the source is updated based on the property that you bind to.As of writing, all properties except for the Text property, is updated as soon as the property changes (Property Changed), while the Text property is updated when focus on the destination element is lost (Lost Focus). When you want to use data binding to set the collection of items, you don't bind the Items property.Items is actually read-only; you can add and remove items from the list but you cannot replace the collection.
Search for wpf itemssource binding not updating:
If we don't open the drop down first (skip steps 2 and 4), then all items will appear correctly in the drop down.