private void ExpandAll_Click(object sender, System.Windows.Input.MouseButtonEventArgs e) { if (TabGeneral.IsSelected) { General.ExpandAllGroups(); } else if (TabCroissance.IsSelected) { Croissance.ExpandAllGroups(); } else if (TabValorisation.IsSelected) { Valorisation.ExpandAllGroups(); } else if (TabMomentum.IsSelected) { Momentum.ExpandAllGroups(); } else if (TabQuality.IsSelected) { Quality.ExpandAllGroups(); } else if (TabSynthese.IsSelected) { Synthese.ExpandAllGroups(); } }