|
There is a piece of code which has stopped working after upgrading SL4 project to SL5.
Compilation shows an error mesage: "A value of type InteractionRequestTrigger cannot be added to a collection or dictionary of type 'TriggerCollection'.
Could anybody, pls, help to find any workaround? InteractionRequest pattern for dialogs is very useful.
Thanks, Prism4Uer.
...
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:prism="clr-namespace:Microsoft.Practices.Prism.Interactivity.InteractionRequest;assembly=Microsoft.Practices.Prism.Interactivity"
...
<i:Interaction.Triggers>
<prism:InteractionRequestTrigger SourceObject="{Binding LoginRegistrationRequest}">
<prism:PopupChildWindowAction>
<prism:PopupChildWindowAction.ChildWindow>
<Views:LoginRegistrationWindow/>
</prismPopupChildWindowAction.ChildWindow>
</prismPopupChildWindowAction>
</prismInteractionRequestTrigger>
</i:Interaction.Triggers>"
|