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
Hello,
the Selector.Selected event is called when specific tab is selected - so why don't you just place your method from VM directly in this tab's event?
Anastas
I use Infragistics WPF 13.2 and don't find the event TabItemEx.Selector.Selected. So where it is?I could use the SelectionChanged event of the XamTabControl and check if the wanted tab item has the IsSelected flag.But the event fires several times on the application startup (maybe once for each tab). So it's not my first choice.