-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Describe the problem
<b:Interaction.Triggers> <b:PropertyChangedTrigger Binding="{Binding ElementName=MutilSelect,Path=IsChecked}" > <b:CallMethodAction MethodName="MutilSelected" TargetObject="{Binding RelativeSource={RelativeSource AncestorType=local:SearchComboBox}}"/> </b:PropertyChangedTrigger> </b:Interaction.Triggers>
PropertyChangedTrigger does not work together with CallMethodAction because CallMethodAction restricts that the second parameter must be inherited from the class EventArgs, and the property change provides parameters that are System.Windows.DependencyPropertyChangedEventArgs
Describe the solution
Parameters must not be inherited from EventArgs when validating, or you can specify the type of the parameter
Alternatives
I can only go to the monitor checked, unchecked two methods to achieve this goal
Additional info
No response
Help us help you
No response