0

I have a view in a WPF application I'm writing using PRISM & Unity for IOC/DI. Upon the entering of details in a client view I save details to database then call my regionManagers' requestNavigate to my main client view. I want to call my RefreshDetails command everytime my ClientView is navigated to, what event on my ClientMainView userControl can I hook into to bind to my RefreshDetails command?

CheGuevarasBeret
  • 1,364
  • 2
  • 14
  • 33

1 Answers1

0

I bound to my userControls' Loaded event like so:

<i:Interaction.Triggers>
    <i:EventTrigger EventName="Loaded">
        <i:InvokeCommandAction Command="{Binding RefreshDetailsCommand}"/>
    </i:EventTrigger>
<i:Interaction.Triggers>

and my command fires....

CheGuevarasBeret
  • 1,364
  • 2
  • 14
  • 33