public TabRefreshEventArgs(TabRefreshTrigger trigger) { Trigger = trigger; }
private void OnTabRefresh(TabRefreshTrigger trigger, int desiredTabIndex = 0) { TabRefresh?.Invoke(this, new TabRefreshEventArgs(trigger)); SelectedTabIndex = desiredTabIndex; }