Telerik® JustDecompile™ by Progress

This class provides a push notification to all of the clients subscribers, when selected tab item has been changed in JustDecompile.

Event base notification is dispatched to all of the subscribers.

Syntax:

CopyC#
public class SelectedTabItemChangedEvent : CompositePresentationEvent<ITabItem>
{
}
CopyVB.NET
Public Class SelectedTabItemChangedEvent
     Inherits CompositePresentationEvent(Of ITabItem)
End Class

Example:

You can subscribe to this event using the following code:

CopyC#
public void OnImportsSatisfied()
{
   this.eventAggregator.GetEvent<SelectedTabItemChangedEvent>().Subscribe(OnTabItemChanged);
}
CopyVB.NET
Public Sub OnImportsSatisfied()
   Me.eventAggregator.GetEvent(Of SelectedTabItemChangedEvent)().Subscribe(New Action(Of ITreeViewItem)(AddressOf OnTabItemChanged))
End Sub

An ITabItem instance is provided by JustDecompile to all of the event subscribers. It contains the currently selected tab item in the application.