Hi,
I would like to bind my itemsource to my view model using FindAncestor but it fails to find my usercontrol.
ItemSource ="{Binding DataContext.ContextMenuItems, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}"
However, by binding like this, without specifying the data context:
ItemSource ="{Binding ContextMenuItems}"
It binds to my view model properly for the first time and does not bind properly when i reopen the context menu and gives me the object type as its header...