Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
505
CallMethodAction and TabSelected event?
posted

Hi,

I am trying to call a method on my VM when a particular tab is selected. I have tried Selector.Selected event too.

Is there is a event which does the job?

Here is what I have tried

<igWindows:TabItemEx x:Name="exampleTab" Header="Emergency" FontSize="14">

             <i:Interaction.Triggers>

             <i:EventTrigger EventName="Selector.Selected">

             <ei:CallMethodAction TargetObject="{Binding Mode=OneWay}" MethodName="ExampleMethod"/>

             </i:EventTrigger>

             </i:Interaction.Triggers>

<igWindows:TabItemEx>

 

Any suggestion would be greatly appreciated.

Thanks,

Uday Thummalapalli