Starting a new question from this thread, Can anyone answer why a ComboBox with CheckBoxes would behave differently inside and outside of a toolbar?
Summary from linked question:
I noticed that there is a difference of behavior when the ComboBox is placed in a Toolbar. When not in the Toolbar, it behaves as expected: the CheckBox changes state without closing the Popup. But in the ToolBar, the Popup closes on the first click, regardless of where the click is. Try the new code, please. I really need this in a toolbar.
I’d like to thank jberger for suggesting I go to MS.
As suggested by MS, the solution is to set the
CheckBox.Focusableproperty toFalsein the template.This provides the desired behavior when the
ComboBoxis either in aToolBaror just floating in somePanel.