The main idea of this approach is to use the ComboBoxEdit.EditTemplate property and put an ItemsControl into the edit area. In the ItemsControl, the ItemTemplate property is used to display selected items as a TextBlock with the "Cross" button. To wrap selected items, a Panel descendant was created. This descendant implements its own measuring and arranging mechanism.
↧