Esempio n. 1
0
        void IViewModel.OnChangeTab(string tabId)
        {
            var old = activeTab();

            lastActivatedTab = tabId;
            changeNotification.Post();
            if (old != activeTab())
            {
                TabChanging?.Invoke(this, new TabChangingEventArgs(visibleTabs[activeTab()].Id));
            }
        }
Esempio n. 2
0
 void IViewModel.OnTabChanging(string tabId)
 {
     customTabsTags.TryGetValue(tabId, out var tag);
     TabChanging?.Invoke(this, new TabChangingEventArgs(tabId, tag));
 }