How can I get the ParentComboBox of an ComboBoxItem?
I would like to close an open ComboBox if the Insert-Key is pressed:
var focusedElement
As H.B. wrote you also can use
var parent = ItemsControl.ItemsControlFromItemContainer(comboBoxItem) as ComboBox;