Hi,
We are using ActiPro WPF Controls for a long time now.
I was working with the RibbonGallery and played with the ItemTemplate and ZoomedInItemTemplate. It works very well visually speaking.
What doesn't work for me is that I need a contextual menu on each ItemTemplate. For that, without the "ZoomedInItemTemplate", I just added this code in the DataTemplate of my ItemTemplate.
ContextMenuOpening="OnContextMenuOpening"
ContextMenu="{Binding Path= DataContext.ItemsContextMenu, RelativeSource={RelativeSource AncestorType=ribbon:RibbonGallery}}"
It was working well : the OnContextMenuOpening is just here to "set" the selected item because it seems right-click doesn't select the item.
Until I put the "ZoomedInItemTemplate" ... then nothing happens.
I have tried to move this piece of code to the ZoomedInItemTemplate, it seems to trigger the "OnContextMenuOpening" but the contextual menu is closed instantly and the "zoom template" is back in place.
What I don't understand is that the document is saying that "Clicks through the zoomed-in popup are transparent an will affect the item under it.", but that doesn't seem to be the case for "right-click".
Thanks for your help.
Kevin