Interaction Triggers no longer working in 3.1.x
Posted: 29 Oct 2021, 15:26
In the process of updating NoesisGUI from 3.0.x, we noticed some interaction are no longer working.
The following code no longer work in 3.1.0 and 3.1.1 (with Unity 2020.3)
There is no visible error in logs. The behavior works under WPF and previous version of Noesis.
The following code no longer work in 3.1.0 and 3.1.1 (with Unity 2020.3)
There is no visible error in logs. The behavior works under WPF and previous version of Noesis.
Code: Select all
<ListView ItemsSource="{Binding Players}" x:Name="PlayersRankingView" Margin="20,10,20,10">
<ListView.View>
<GridView>
<GridViewColumn Width="130">
<GridViewColumnHeader Content="Test"/>
</GridViewColumn>
</GridView>
</ListView.View>
<b:Interaction.Triggers>
<b:EventTrigger EventName="MouseLeftButtonUp">
<b:InvokeCommandAction Command="{Binding PlayerClickCommand}" CommandParameter="{Binding ElementName=PlayersRankingView, Path=SelectedItem}"/>
</b:EventTrigger>
</b:Interaction.Triggers>
</ListView>