Hi!,
I'm using the WPF Extensibility Hacks or WEX - Includes EventTrigger, ReactiveTrigger, InvokeMethodAction, InvokeCommandAction project, you upload in code project. Excellent!! but something happen. I have a checkbox and a groupbox and I need when IsChecked property's myCheckbox is true, GroupBox hide. But when I run app (XBAP), exception is thrown
StackOverflowException on WindowsBase.dll. I made a trace into source code and I note this happen just for wex:PropertyTrigger situation, and errors is thrown in EventBaseTrigger in InvokeConditional(object parameter) in lines:
var result = parameter as EventResult;
this.Sender = result.Sender;
this.Argument = result.Args; <--- Here exception is thrown
this is snipet code from XAML
<i:Interaction.Triggers>
<wex:PropertyTrigger SourceType="Element" ElementName="chkMyCheckBox" Property="IsChecked">
<wex:PropertyAction Action="Set" TargetType="Element" TargetName="grpMyGroupBox" Property="Visibility" Value="Hidden">
<wex:PropertyAction.Conditions>
<wex:InvokingConditions>
<wex:InvokingCondition Value="True"/>
</wex:InvokingConditions>
</wex:PropertyAction.Conditions>
</wex:PropertyAction>
</wex:PropertyTrigger>
I appreciate any help!!
thanks