可以使用handycontrol里的类,behavior里的不可以使用,因为它只支持RoutedEvent
<hc:Interaction.Triggers>
<hc:RoutedEventTrigger RoutedEvent="{x:Static Validation.ErrorEvent}">
<hc:EventToCommand Command="{Binding OnValidationErrorOccurredCommand}" PassEventArgsToCommand="True" />
</hc:RoutedEventTrigger>
</hc:Interaction.Triggers>
标签:handycontrol,可以,RoutedEvent,behavior,使用,AttachedEventsToCommand
From: https://www.cnblogs.com/baibaisheng/p/16820985.html