I implemented a editable combobox with wpf:
and it works fine, but now i want to add my own context menu:
and here is my problem: the comobox shows the editable contextmenu with copy, paste, cut and not my own declared one.
do somebody know how to avoid that my context menu is overwritten?
Code:
<ComboBox IsEditable="True">
<ComboBoxItem Content="Item1"></ComboBoxItem>
<ComboBoxItem Content="Item2"></ComboBoxItem>
</ComboBox>
Code:
<ComboBox IsEditable="True" ContextMenu="{StaticResource contextMenu}">
do somebody know how to avoid that my context menu is overwritten?