Hello,
I have problems with the MenuTool in my MVVM application.It works as expected, but the Click-Event is fired only in the green area. I want it to be fired in the red area too. How can I achieve this?
<igRibbon:RibbonGroup Id="Ansicht" Caption="Ansicht"><igRibbon:ToolHorizontalWrapPanel><igRibbon:MenuTool Id="LoadView" Caption="Laden" SmallImage="/DexSMS.Common;component/Assets/Images/16/layout.png"LargeImage="/DexSMS.Common;component/Assets/Images/32/layout.png"
ItemsSource="{Binding Ansichten}"> <igRibbon:MenuTool.ItemTemplate> <DataTemplate>
<igRibbon:ButtonTool Content="{Binding}"> <i:Interaction.Triggers> <i:EventTrigger EventName="Click"> <ei:ChangePropertyAction TargetObject="{Binding Source={StaticResource proxy}, Path=Data}" PropertyName="Ansicht" Value="{Binding}" /> </i:EventTrigger> </i:Interaction.Triggers> </igRibbon:ButtonTool> </DataTemplate> </igRibbon:MenuTool.ItemTemplate> </igRibbon:MenuTool>
...
Thank you for your post. I have been looking into it and could not reproduce the issue you have mentioned. I have created a small sample application in order to test this functionality. Would you please modify the sample with the functionality you are using in order for me to be able to reproduce your issue and provide you with better support.
Looking forward to hearing from you.
I have modifiy your sample to reproduce the issue. Maybe something is wrong with my DataTemplate !?