0
タイトルはかなり質問を説明します。eventriggerの動作でコマンドを実行する方法はありますか?
<i:Interaction.Triggers>
<i:EventTrigger EventName="SizeChanged">
<i:InvokeCommandAction>
<i:InvokeCommandAction.Command>
<Binding Source="{StaticResource eventBindingHelper}" Path="DataC.SizeChangedCommand"></Binding>
</i:InvokeCommandAction.Command>
<i:InvokeCommandAction.CommandParameter>
<Binding RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type igDP:LabelPresenter}}"/>
</i:InvokeCommandAction.CommandParameter>
</i:InvokeCommandAction>
</i:EventTrigger>
</i:Interaction.Triggers>
それはのviewmodelにバインドされます場合は作品を結合コマンド:
は、私は、テンプレートのビューには、以下の持っています。しかし、私はそれを行動に結びつけたいと思っています。私は方法を見つけることができません。