I am trying to execute the following xaml code which has reference to interactivity and interactions as shown and I keep getting errors.
The xaml code is attached below with the comments where errors are appearing.
<Grid 
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
    xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions">
    <Popup x:Name="popup" PlacementTarget="{Binding ElementName=imageList}">
        <Image Source="{Binding PlacementTarget.SelectedItem , ElementName=popup}"/>
    </Popup>
    <ListView x:Name="imageList" >
        <i:Interaction.Triggers>  //ERROR
            <i:EventTrigger EventName="SelectionChanged"> //ERROR
                <ei:ChangePropertyAction PropertyName="IsOpen" 
                    TargetName="{Binding ElementName=popup}" Value="True"/> //ERROR
            </i:EventTrigger>
        </i:Interaction.Triggers>
    </ListView>
</Grid>
I want to display selected image in a new window. But the following errors occur.