I have a listbox and in the datatemplate I have an Expander.
If I click on the Expander Header, the expander expand the content zone but not make the parent ListBoxItem Selected.
If I click on the Expanded Content Zone of the Expander, the parent ListBoxItem become selected.
How to make that when clicking the expanderHeader, the content become expanded AND the parent listboxitem become selected?
I ran into the same issue and handled it by listening to the PreviewGotKeyboardFocus event on the ListBox. When the focus changes walk the visual tree looking for a ListBoxItem and select it: