有没有办法访问EventTrigger绑定的事件的EventArgs?我创建了一个通用的EventArgs类,让我将通用有效负载传递给事件处理程序。如何在EventTrigger中访问它?是否有任何扩展可以让我这样做?
<i:EventTrigger EventName="AgentSelected" SourceObject="{Binding ElementName=ctlAgentSearch, Path=DataContext}">
<ei:CallMethodAction TargetObject="{Binding ElementName=bidAgentEditView}" MethodName="ToggleSearchPanel"/>
<ei:ChangePropertyAction TargetObject="{Binding ElementName=text}" PropertyName=Text"
Value=??? **Here I need to access EventArgs of the event that was raised?** />
</i:EventTrigger>